Class ResourceGuardOperationDetail
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardOperationDetail
-
public final class ResourceGuardOperationDetail extends Object
The ResourceGuardOperationDetail model.
-
-
Constructor Summary
Constructors Constructor Description ResourceGuardOperationDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultResourceRequest()
Get the defaultResourceRequest property: The defaultResourceRequest property.void
validate()
Validates the instance.String
vaultCriticalOperation()
Get the vaultCriticalOperation property: The vaultCriticalOperation property.ResourceGuardOperationDetail
withDefaultResourceRequest(String defaultResourceRequest)
Set the defaultResourceRequest property: The defaultResourceRequest property.ResourceGuardOperationDetail
withVaultCriticalOperation(String vaultCriticalOperation)
Set the vaultCriticalOperation property: The vaultCriticalOperation property.
-
-
-
Method Detail
-
vaultCriticalOperation
public String vaultCriticalOperation()
Get the vaultCriticalOperation property: The vaultCriticalOperation property.- Returns:
- the vaultCriticalOperation value.
-
withVaultCriticalOperation
public ResourceGuardOperationDetail withVaultCriticalOperation(String vaultCriticalOperation)
Set the vaultCriticalOperation property: The vaultCriticalOperation property.- Parameters:
vaultCriticalOperation
- the vaultCriticalOperation value to set.- Returns:
- the ResourceGuardOperationDetail object itself.
-
defaultResourceRequest
public String defaultResourceRequest()
Get the defaultResourceRequest property: The defaultResourceRequest property.- Returns:
- the defaultResourceRequest value.
-
withDefaultResourceRequest
public ResourceGuardOperationDetail withDefaultResourceRequest(String defaultResourceRequest)
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.
-
-