Class ServerBackupInner


  • public final class ServerBackupInner
    extends com.azure.core.management.ProxyResource
    Server backup properties.
    • Constructor Detail

      • ServerBackupInner

        public ServerBackupInner()
    • 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.