Class ServerBackupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ServerBackupInner
public final class ServerBackupInner
extends com.azure.core.management.ProxyResource
Server backup properties.
-
Constructor Summary
-
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.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withBackupType
(Origin 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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ServerBackupInner
public ServerBackupInner()Creates an instance of ServerBackupInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
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 ServerBackupInner 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 ServerBackupInner 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 ServerBackupInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-