Class BackupStatusResponseInner

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.BackupStatusResponseInner

public final class BackupStatusResponseInner extends Object
BackupStatus response.
  • Constructor Details

    • BackupStatusResponseInner

      public BackupStatusResponseInner()
      Creates an instance of BackupStatusResponseInner class.
  • Method Details

    • protectionStatus

      public ProtectionStatus protectionStatus()
      Get the protectionStatus property: Specifies whether the container is registered or not.
      Returns:
      the protectionStatus value.
    • withProtectionStatus

      public BackupStatusResponseInner withProtectionStatus(ProtectionStatus protectionStatus)
      Set the protectionStatus property: Specifies whether the container is registered or not.
      Parameters:
      protectionStatus - the protectionStatus value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • vaultId

      public String vaultId()
      Get the vaultId property: Specifies the arm resource id of the vault.
      Returns:
      the vaultId value.
    • withVaultId

      public BackupStatusResponseInner withVaultId(String vaultId)
      Set the vaultId property: Specifies the arm resource id of the vault.
      Parameters:
      vaultId - the vaultId value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • fabricName

      public FabricName fabricName()
      Get the fabricName property: Specifies the fabric name - Azure or AD.
      Returns:
      the fabricName value.
    • withFabricName

      public BackupStatusResponseInner withFabricName(FabricName fabricName)
      Set the fabricName property: Specifies the fabric name - Azure or AD.
      Parameters:
      fabricName - the fabricName value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • containerName

      public String containerName()
      Get the containerName property: Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname.
      Returns:
      the containerName value.
    • withContainerName

      public BackupStatusResponseInner withContainerName(String containerName)
      Set the containerName property: Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname.
      Parameters:
      containerName - the containerName value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • protectedItemName

      public String protectedItemName()
      Get the protectedItemName property: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
      Returns:
      the protectedItemName value.
    • withProtectedItemName

      public BackupStatusResponseInner withProtectedItemName(String protectedItemName)
      Set the protectedItemName property: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
      Parameters:
      protectedItemName - the protectedItemName value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • errorCode

      public String errorCode()
      Get the errorCode property: ErrorCode in case of intent failed.
      Returns:
      the errorCode value.
    • withErrorCode

      public BackupStatusResponseInner withErrorCode(String errorCode)
      Set the errorCode property: ErrorCode in case of intent failed.
      Parameters:
      errorCode - the errorCode value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: ErrorMessage in case of intent failed.
      Returns:
      the errorMessage value.
    • withErrorMessage

      public BackupStatusResponseInner withErrorMessage(String errorMessage)
      Set the errorMessage property: ErrorMessage in case of intent failed.
      Parameters:
      errorMessage - the errorMessage value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • policyName

      public String policyName()
      Get the policyName property: Specifies the policy name which is used for protection.
      Returns:
      the policyName value.
    • withPolicyName

      public BackupStatusResponseInner withPolicyName(String policyName)
      Set the policyName property: Specifies the policy name which is used for protection.
      Parameters:
      policyName - the policyName value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • registrationStatus

      public String registrationStatus()
      Get the registrationStatus property: Container registration status.
      Returns:
      the registrationStatus value.
    • withRegistrationStatus

      public BackupStatusResponseInner withRegistrationStatus(String registrationStatus)
      Set the registrationStatus property: Container registration status.
      Parameters:
      registrationStatus - the registrationStatus value to set.
      Returns:
      the BackupStatusResponseInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.