Class ServerPropertiesForRestore


  • public final class ServerPropertiesForRestore
    extends ServerPropertiesForCreate
    The properties used to create a new server by restoring from a backup.
    • Constructor Detail

      • ServerPropertiesForRestore

        public ServerPropertiesForRestore()
    • Method Detail

      • sourceServerId

        public String sourceServerId()
        Get the sourceServerId property: The source server id to restore from.
        Returns:
        the sourceServerId value.
      • withSourceServerId

        public ServerPropertiesForRestore withSourceServerId​(String sourceServerId)
        Set the sourceServerId property: The source server id to restore from.
        Parameters:
        sourceServerId - the sourceServerId value to set.
        Returns:
        the ServerPropertiesForRestore object itself.
      • restorePointInTime

        public OffsetDateTime restorePointInTime()
        Get the restorePointInTime property: Restore point creation time (ISO8601 format), specifying the time to restore from.
        Returns:
        the restorePointInTime value.
      • withRestorePointInTime

        public ServerPropertiesForRestore withRestorePointInTime​(OffsetDateTime restorePointInTime)
        Set the restorePointInTime property: Restore point creation time (ISO8601 format), specifying the time to restore from.
        Parameters:
        restorePointInTime - the restorePointInTime value to set.
        Returns:
        the ServerPropertiesForRestore object itself.
      • withPublicNetworkAccess

        public ServerPropertiesForRestore withPublicNetworkAccess​(PublicNetworkAccessEnum publicNetworkAccess)
        Set the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
        Overrides:
        withPublicNetworkAccess in class ServerPropertiesForCreate
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the ServerPropertiesForCreate object itself.