Class PreValidateEnableBackupResponseInner
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.PreValidateEnableBackupResponseInner
Response contract for enable backup validation request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PreValidateEnableBackupResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the containerName property: Specifies the product specific container name.Get the errorCode property: Response error code.Get the errorMessage property: Response error message.Get the protectedItemName property: Specifies the product specific ds name.Get the recommendation property: Recommended action for user.status()
Get the status property: Validation Status.void
validate()
Validates the instance.withContainerName
(String containerName) Set the containerName property: Specifies the product specific container name.withErrorCode
(String errorCode) Set the errorCode property: Response error code.withErrorMessage
(String errorMessage) Set the errorMessage property: Response error message.withProtectedItemName
(String protectedItemName) Set the protectedItemName property: Specifies the product specific ds name.withRecommendation
(String recommendation) Set the recommendation property: Recommended action for user.withStatus
(ValidationStatus status) Set the status property: Validation Status.
-
Constructor Details
-
PreValidateEnableBackupResponseInner
public PreValidateEnableBackupResponseInner()Creates an instance of PreValidateEnableBackupResponseInner class.
-
-
Method Details
-
status
Get the status property: Validation Status.- Returns:
- the status value.
-
withStatus
Set the status property: Validation Status.- Parameters:
status
- the status value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
errorCode
Get the errorCode property: Response error code.- Returns:
- the errorCode value.
-
withErrorCode
Set the errorCode property: Response error code.- Parameters:
errorCode
- the errorCode value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
errorMessage
Get the errorMessage property: Response error message.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: Response error message.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
recommendation
Get the recommendation property: Recommended action for user.- Returns:
- the recommendation value.
-
withRecommendation
Set the recommendation property: Recommended action for user.- Parameters:
recommendation
- the recommendation value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
containerName
Get the containerName property: Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required for portal.- Returns:
- the containerName value.
-
withContainerName
Set the containerName property: Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required for portal.- Parameters:
containerName
- the containerName value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
protectedItemName
Get the protectedItemName property: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal.- Returns:
- the protectedItemName value.
-
withProtectedItemName
Set the protectedItemName property: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal.- Parameters:
protectedItemName
- the protectedItemName value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-