ResourceGuardProxyBase Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ResourceGuardProxyBase

Implements

public final class ResourceGuardProxyBase
implements JsonSerializable<ResourceGuardProxyBase>

ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource.

Constructor Summary

Constructor Description
ResourceGuardProxyBase()

Creates an instance of ResourceGuardProxyBase class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description property.

static ResourceGuardProxyBase fromJson(JsonReader jsonReader)

Reads an instance of ResourceGuardProxyBase from the JsonReader.

String lastUpdatedTime()

Get the lastUpdatedTime property: The lastUpdatedTime property.

List<ResourceGuardOperationDetail> resourceGuardOperationDetails()

Get the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.

String resourceGuardResourceId()

Get the resourceGuardResourceId property: The resourceGuardResourceId property.

JsonWriter toJson(JsonWriter jsonWriter)
ResourceGuardProxyBase withDescription(String description)

Set the description property: The description property.

ResourceGuardProxyBase withLastUpdatedTime(String lastUpdatedTime)

Set the lastUpdatedTime property: The lastUpdatedTime property.

ResourceGuardProxyBase withResourceGuardOperationDetails(List<ResourceGuardOperationDetail> resourceGuardOperationDetails)

Set the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.

ResourceGuardProxyBase withResourceGuardResourceId(String resourceGuardResourceId)

Set the resourceGuardResourceId property: The resourceGuardResourceId property.

Methods inherited from java.lang.Object

Constructor Details

ResourceGuardProxyBase

public ResourceGuardProxyBase()

Creates an instance of ResourceGuardProxyBase class.

Method Details

description

public String description()

Get the description property: The description property.

Returns:

the description value.

fromJson

public static ResourceGuardProxyBase fromJson(JsonReader jsonReader)

Reads an instance of ResourceGuardProxyBase from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceGuardProxyBase if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceGuardProxyBase.

lastUpdatedTime

public String lastUpdatedTime()

Get the lastUpdatedTime property: The lastUpdatedTime property.

Returns:

the lastUpdatedTime value.

resourceGuardOperationDetails

public List<ResourceGuardOperationDetail> resourceGuardOperationDetails()

Get the resourceGuardOperationDetails property: The resourceGuardOperationDetails property.

Returns:

the resourceGuardOperationDetails value.

resourceGuardResourceId

public String resourceGuardResourceId()

Get the resourceGuardResourceId property: The resourceGuardResourceId property.

Returns:

the resourceGuardResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withDescription

public ResourceGuardProxyBase withDescription(String description)

Set the description property: The description property.

Parameters:

description - the description value to set.

Returns:

the ResourceGuardProxyBase object itself.

withLastUpdatedTime

public ResourceGuardProxyBase withLastUpdatedTime(String lastUpdatedTime)

Set the lastUpdatedTime property: The lastUpdatedTime property.

Parameters:

lastUpdatedTime - the lastUpdatedTime value to set.

Returns:

the ResourceGuardProxyBase object itself.

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.

withResourceGuardResourceId

public ResourceGuardProxyBase withResourceGuardResourceId(String resourceGuardResourceId)

Set the resourceGuardResourceId property: The resourceGuardResourceId property.

Parameters:

resourceGuardResourceId - the resourceGuardResourceId value to set.

Returns:

the ResourceGuardProxyBase object itself.

Applies to