Class BackupStatusResponseInner
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.BackupStatusResponseInner
BackupStatus response.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BackupStatusResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the containerName property: Specifies the product specific container name.Get the errorCode property: ErrorCode in case of intent failed.Get the errorMessage property: ErrorMessage in case of intent failed.Get the fabricName property: Specifies the fabric name - Azure or AD.Get the policyName property: Specifies the policy name which is used for protection.Get the protectedItemName property: Specifies the product specific ds name.Get the protectionStatus property: Specifies whether the container is registered or not.Get the registrationStatus property: Container registration status.void
validate()
Validates the instance.vaultId()
Get the vaultId property: Specifies the arm resource id of the vault.withContainerName
(String containerName) Set the containerName property: Specifies the product specific container name.withErrorCode
(String errorCode) Set the errorCode property: ErrorCode in case of intent failed.withErrorMessage
(String errorMessage) Set the errorMessage property: ErrorMessage in case of intent failed.withFabricName
(FabricName fabricName) Set the fabricName property: Specifies the fabric name - Azure or AD.withPolicyName
(String policyName) Set the policyName property: Specifies the policy name which is used for protection.withProtectedItemName
(String protectedItemName) Set the protectedItemName property: Specifies the product specific ds name.withProtectionStatus
(ProtectionStatus protectionStatus) Set the protectionStatus property: Specifies whether the container is registered or not.withRegistrationStatus
(String registrationStatus) Set the registrationStatus property: Container registration status.withVaultId
(String vaultId) Set the vaultId property: Specifies the arm resource id of the vault.
-
Constructor Details
-
BackupStatusResponseInner
public BackupStatusResponseInner()Creates an instance of BackupStatusResponseInner class.
-
-
Method Details
-
protectionStatus
Get the protectionStatus property: Specifies whether the container is registered or not.- Returns:
- the protectionStatus value.
-
withProtectionStatus
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
Get the vaultId property: Specifies the arm resource id of the vault.- Returns:
- the vaultId value.
-
withVaultId
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
Get the fabricName property: Specifies the fabric name - Azure or AD.- Returns:
- the fabricName value.
-
withFabricName
Set the fabricName property: Specifies the fabric name - Azure or AD.- Parameters:
fabricName
- the fabricName value to set.- Returns:
- the BackupStatusResponseInner object itself.
-
containerName
Get the containerName property: Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname.- Returns:
- the containerName value.
-
withContainerName
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
Get the protectedItemName property: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.- Returns:
- the protectedItemName value.
-
withProtectedItemName
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
Get the errorCode property: ErrorCode in case of intent failed.- Returns:
- the errorCode value.
-
withErrorCode
Set the errorCode property: ErrorCode in case of intent failed.- Parameters:
errorCode
- the errorCode value to set.- Returns:
- the BackupStatusResponseInner object itself.
-
errorMessage
Get the errorMessage property: ErrorMessage in case of intent failed.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: ErrorMessage in case of intent failed.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the BackupStatusResponseInner object itself.
-
policyName
Get the policyName property: Specifies the policy name which is used for protection.- Returns:
- the policyName value.
-
withPolicyName
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
Get the registrationStatus property: Container registration status.- Returns:
- the registrationStatus value.
-
withRegistrationStatus
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.
-