Class ResourceGuardProxyBase
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardProxyBase
The ResourceGuardProxyBase model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceGuardProxyBase class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description property.Get the lastUpdatedTime property: The lastUpdatedTime property.Get the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.Get the resourceGuardResourceId property: The resourceGuardResourceId property.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description property.withLastUpdatedTime
(String lastUpdatedTime) Set the lastUpdatedTime property: The lastUpdatedTime property.withResourceGuardOperationDetails
(List<ResourceGuardOperationDetail> resourceGuardOperationDetails) Set the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.withResourceGuardResourceId
(String resourceGuardResourceId) Set the resourceGuardResourceId property: The resourceGuardResourceId property.
-
Constructor Details
-
ResourceGuardProxyBase
public ResourceGuardProxyBase()Creates an instance of ResourceGuardProxyBase class.
-
-
Method Details
-
resourceGuardResourceId
Get the resourceGuardResourceId property: The resourceGuardResourceId property.- Returns:
- the resourceGuardResourceId value.
-
withResourceGuardResourceId
Set the resourceGuardResourceId property: The resourceGuardResourceId property.- Parameters:
resourceGuardResourceId
- the resourceGuardResourceId value to set.- Returns:
- the ResourceGuardProxyBase object itself.
-
resourceGuardOperationDetails
Get the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.- Returns:
- the resourceGuardOperationDetails value.
-
withResourceGuardOperationDetails
public ResourceGuardProxyBase withResourceGuardOperationDetails(List<ResourceGuardOperationDetail> resourceGuardOperationDetails) Set the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.- Parameters:
resourceGuardOperationDetails
- the resourceGuardOperationDetails value to set.- Returns:
- the ResourceGuardProxyBase object itself.
-
lastUpdatedTime
Get the lastUpdatedTime property: The lastUpdatedTime property.- Returns:
- the lastUpdatedTime value.
-
withLastUpdatedTime
Set the lastUpdatedTime property: The lastUpdatedTime property.- Parameters:
lastUpdatedTime
- the lastUpdatedTime value to set.- Returns:
- the ResourceGuardProxyBase object itself.
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description
- the description value to set.- Returns:
- the ResourceGuardProxyBase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-