Class ResourceGuardOperationDetail
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardOperationDetail
The ResourceGuardOperationDetail model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceGuardOperationDetail class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultResourceRequest property: The defaultResourceRequest property.void
validate()
Validates the instance.Get the vaultCriticalOperation property: The vaultCriticalOperation property.withDefaultResourceRequest
(String defaultResourceRequest) Set the defaultResourceRequest property: The defaultResourceRequest property.withVaultCriticalOperation
(String vaultCriticalOperation) Set the vaultCriticalOperation property: The vaultCriticalOperation property.
-
Constructor Details
-
ResourceGuardOperationDetail
public ResourceGuardOperationDetail()Creates an instance of ResourceGuardOperationDetail class.
-
-
Method Details
-
vaultCriticalOperation
Get the vaultCriticalOperation property: The vaultCriticalOperation property.- Returns:
- the vaultCriticalOperation value.
-
withVaultCriticalOperation
Set the vaultCriticalOperation property: The vaultCriticalOperation property.- Parameters:
vaultCriticalOperation
- the vaultCriticalOperation value to set.- Returns:
- the ResourceGuardOperationDetail object itself.
-
defaultResourceRequest
Get the defaultResourceRequest property: The defaultResourceRequest property.- Returns:
- the defaultResourceRequest value.
-
withDefaultResourceRequest
Set the defaultResourceRequest property: The defaultResourceRequest property.- Parameters:
defaultResourceRequest
- the defaultResourceRequest value to set.- Returns:
- the ResourceGuardOperationDetail object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-