Class ServerBackupProperties
java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.fluent.models.ServerBackupProperties
The properties of a server backup.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServerBackupProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backupType property: Backup type.Get the completedTime property: Backup completed time (ISO8601 format).source()
Get the source property: Backup source.void
validate()
Validates the instance.withBackupType
(String backupType) Set the backupType property: Backup type.withCompletedTime
(OffsetDateTime completedTime) Set the completedTime property: Backup completed time (ISO8601 format).withSource
(String source) Set the source property: Backup source.
-
Constructor Details
-
ServerBackupProperties
public ServerBackupProperties()Creates an instance of ServerBackupProperties class.
-
-
Method Details
-
backupType
Get the backupType property: Backup type.- Returns:
- the backupType value.
-
withBackupType
Set the backupType property: Backup type.- Parameters:
backupType
- the backupType value to set.- Returns:
- the ServerBackupProperties object itself.
-
completedTime
Get the completedTime property: Backup completed time (ISO8601 format).- Returns:
- the completedTime value.
-
withCompletedTime
Set the completedTime property: Backup completed time (ISO8601 format).- Parameters:
completedTime
- the completedTime value to set.- Returns:
- the ServerBackupProperties object itself.
-
source
Get the source property: Backup source.- Returns:
- the source value.
-
withSource
Set the source property: Backup source.- Parameters:
source
- the source value to set.- Returns:
- the ServerBackupProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-