Class ServerPropertiesForUpdate


  • public final class ServerPropertiesForUpdate
    extends Object
    The properties that can be updated for a server.
    • Constructor Detail

      • ServerPropertiesForUpdate

        public ServerPropertiesForUpdate()
    • Method Detail

      • administratorLoginPassword

        public String administratorLoginPassword()
        Get the administratorLoginPassword property: The password of the administrator login.
        Returns:
        the administratorLoginPassword value.
      • withAdministratorLoginPassword

        public ServerPropertiesForUpdate withAdministratorLoginPassword​(String administratorLoginPassword)
        Set the administratorLoginPassword property: The password of the administrator login.
        Parameters:
        administratorLoginPassword - the administratorLoginPassword value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • storage

        public Storage storage()
        Get the storage property: Storage related properties of a server.
        Returns:
        the storage value.
      • withStorage

        public ServerPropertiesForUpdate withStorage​(Storage storage)
        Set the storage property: Storage related properties of a server.
        Parameters:
        storage - the storage value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • backup

        public Backup backup()
        Get the backup property: Backup related properties of a server.
        Returns:
        the backup value.
      • withBackup

        public ServerPropertiesForUpdate withBackup​(Backup backup)
        Set the backup property: Backup related properties of a server.
        Parameters:
        backup - the backup value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • highAvailability

        public HighAvailability highAvailability()
        Get the highAvailability property: High availability related properties of a server.
        Returns:
        the highAvailability value.
      • withHighAvailability

        public ServerPropertiesForUpdate withHighAvailability​(HighAvailability highAvailability)
        Set the highAvailability property: High availability related properties of a server.
        Parameters:
        highAvailability - the highAvailability value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • maintenanceWindow

        public MaintenanceWindow maintenanceWindow()
        Get the maintenanceWindow property: Maintenance window of a server.
        Returns:
        the maintenanceWindow value.
      • withMaintenanceWindow

        public ServerPropertiesForUpdate withMaintenanceWindow​(MaintenanceWindow maintenanceWindow)
        Set the maintenanceWindow property: Maintenance window of a server.
        Parameters:
        maintenanceWindow - the maintenanceWindow value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • replicationRole

        public ReplicationRole replicationRole()
        Get the replicationRole property: The replication role of the server.
        Returns:
        the replicationRole value.
      • withReplicationRole

        public ServerPropertiesForUpdate withReplicationRole​(ReplicationRole replicationRole)
        Set the replicationRole property: The replication role of the server.
        Parameters:
        replicationRole - the replicationRole value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • dataEncryption

        public DataEncryption dataEncryption()
        Get the dataEncryption property: The Data Encryption for CMK.
        Returns:
        the dataEncryption value.
      • withDataEncryption

        public ServerPropertiesForUpdate withDataEncryption​(DataEncryption dataEncryption)
        Set the dataEncryption property: The Data Encryption for CMK.
        Parameters:
        dataEncryption - the dataEncryption value to set.
        Returns:
        the ServerPropertiesForUpdate object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.