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 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

      public Origin backupType()
      Get the backupType property: Backup type.
      Returns:
      the backupType value.
    • withBackupType

      public ServerBackupInner withBackupType(Origin 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.