Class PreValidateEnableBackupResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.PreValidateEnableBackupResponseInner
-
public final class PreValidateEnableBackupResponseInner extends Object
Response contract for enable backup validation request.
-
-
Constructor Summary
Constructors Constructor Description PreValidateEnableBackupResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
containerName()
Get the containerName property: Specifies the product specific container name.String
errorCode()
Get the errorCode property: Response error code.String
errorMessage()
Get the errorMessage property: Response error message.String
protectedItemName()
Get the protectedItemName property: Specifies the product specific ds name.String
recommendation()
Get the recommendation property: Recommended action for user.ValidationStatus
status()
Get the status property: Validation Status.void
validate()
Validates the instance.PreValidateEnableBackupResponseInner
withContainerName(String containerName)
Set the containerName property: Specifies the product specific container name.PreValidateEnableBackupResponseInner
withErrorCode(String errorCode)
Set the errorCode property: Response error code.PreValidateEnableBackupResponseInner
withErrorMessage(String errorMessage)
Set the errorMessage property: Response error message.PreValidateEnableBackupResponseInner
withProtectedItemName(String protectedItemName)
Set the protectedItemName property: Specifies the product specific ds name.PreValidateEnableBackupResponseInner
withRecommendation(String recommendation)
Set the recommendation property: Recommended action for user.PreValidateEnableBackupResponseInner
withStatus(ValidationStatus status)
Set the status property: Validation Status.
-
-
-
Method Detail
-
status
public ValidationStatus status()
Get the status property: Validation Status.- Returns:
- the status value.
-
withStatus
public PreValidateEnableBackupResponseInner withStatus(ValidationStatus status)
Set the status property: Validation Status.- Parameters:
status
- the status value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
errorCode
public String errorCode()
Get the errorCode property: Response error code.- Returns:
- the errorCode value.
-
withErrorCode
public PreValidateEnableBackupResponseInner withErrorCode(String errorCode)
Set the errorCode property: Response error code.- Parameters:
errorCode
- the errorCode value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
errorMessage
public String errorMessage()
Get the errorMessage property: Response error message.- Returns:
- the errorMessage value.
-
withErrorMessage
public PreValidateEnableBackupResponseInner withErrorMessage(String errorMessage)
Set the errorMessage property: Response error message.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
recommendation
public String recommendation()
Get the recommendation property: Recommended action for user.- Returns:
- the recommendation value.
-
withRecommendation
public PreValidateEnableBackupResponseInner withRecommendation(String recommendation)
Set the recommendation property: Recommended action for user.- Parameters:
recommendation
- the recommendation value to set.- Returns:
- the PreValidateEnableBackupResponseInner object itself.
-
containerName
public String 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
public PreValidateEnableBackupResponseInner withContainerName(String containerName)
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
public String 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
public PreValidateEnableBackupResponseInner withProtectedItemName(String protectedItemName)
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.
-
-