Class ProtectionStatusDetails
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ProtectionStatusDetails
ProtectionStatusDetails
Protection status details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ProtectionStatusDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorDetails property: Specifies the protection status error of the resource.status()
Get the status property: Specifies the protection status of the resource.void
validate()
Validates the instance.withErrorDetails
(UserFacingError errorDetails) Set the errorDetails property: Specifies the protection status error of the resource.withStatus
(Status status) Set the status property: Specifies the protection status of the resource.
-
Constructor Details
-
ProtectionStatusDetails
public ProtectionStatusDetails()Creates an instance of ProtectionStatusDetails class.
-
-
Method Details
-
errorDetails
Get the errorDetails property: Specifies the protection status error of the resource.- Returns:
- the errorDetails value.
-
withErrorDetails
Set the errorDetails property: Specifies the protection status error of the resource.- Parameters:
errorDetails
- the errorDetails value to set.- Returns:
- the ProtectionStatusDetails object itself.
-
status
Get the status property: Specifies the protection status of the resource.- Returns:
- the status value.
-
withStatus
Set the status property: Specifies the protection status of the resource.- Parameters:
status
- the status value to set.- Returns:
- the ProtectionStatusDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-