Class ServerBackupInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.mysqlflexibleserver.fluent.models.ServerBackupInner
-
public final class ServerBackupInner extends com.azure.core.management.ProxyResource
Server backup properties.
-
-
Constructor Summary
Constructors Constructor Description ServerBackupInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
backupType()
Get the backupType property: Backup type.OffsetDateTime
completedTime()
Get the completedTime property: Backup completed time (ISO8601 format).String
source()
Get the source property: Backup source.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.ServerBackupInner
withBackupType(String backupType)
Set the backupType property: Backup type.ServerBackupInner
withCompletedTime(OffsetDateTime completedTime)
Set the completedTime property: Backup completed time (ISO8601 format).ServerBackupInner
withSource(String source)
Set the source property: Backup source.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
backupType
public String backupType()
Get the backupType property: Backup type.- Returns:
- the backupType value.
-
withBackupType
public ServerBackupInner withBackupType(String backupType)
Set the backupType property: Backup type.- Parameters:
backupType
- the backupType value to set.- Returns:
- the ServerBackupInner object itself.
-
completedTime
public OffsetDateTime completedTime()
Get the completedTime property: Backup completed time (ISO8601 format).- Returns:
- the completedTime value.
-
withCompletedTime
public ServerBackupInner withCompletedTime(OffsetDateTime completedTime)
Set the completedTime property: Backup completed time (ISO8601 format).- Parameters:
completedTime
- the completedTime value to set.- Returns:
- the ServerBackupInner object itself.
-
source
public String source()
Get the source property: Backup source.- Returns:
- the source value.
-
withSource
public ServerBackupInner withSource(String source)
Set the source property: Backup source.- Parameters:
source
- the source value to set.- Returns:
- the ServerBackupInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-