다음을 통해 공유


RestorePointCollectionInner Class

public final class RestorePointCollectionInner
extends Resource

Create or update Restore Point collection parameters.

Constructor Summary

Constructor Description
RestorePointCollectionInner()

Creates an instance of RestorePointCollectionInner class.

Method Summary

Modifier and Type Method and Description
static RestorePointCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of RestorePointCollectionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String provisioningState()

Get the provisioningState property: The provisioning state of the restore point collection.

String restorePointCollectionId()

Get the restorePointCollectionId property: The unique id of the restore point collection.

List<RestorePointInner> restorePoints()

Get the restorePoints property: A list containing all restore points created under this restore point collection.

RestorePointCollectionSourceProperties source()

Get the source property: The properties of the source resource that this restore point collection is created from.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RestorePointCollectionInner withLocation(String location)
RestorePointCollectionInner withSource(RestorePointCollectionSourceProperties source)

Set the source property: The properties of the source resource that this restore point collection is created from.

RestorePointCollectionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RestorePointCollectionInner

public RestorePointCollectionInner()

Creates an instance of RestorePointCollectionInner class.

Method Details

fromJson

public static RestorePointCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of RestorePointCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RestorePointCollectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RestorePointCollectionInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state of the restore point collection.

Returns:

the provisioningState value.

restorePointCollectionId

public String restorePointCollectionId()

Get the restorePointCollectionId property: The unique id of the restore point collection.

Returns:

the restorePointCollectionId value.

restorePoints

public List restorePoints()

Get the restorePoints property: A list containing all restore points created under this restore point collection.

Returns:

the restorePoints value.

source

public RestorePointCollectionSourceProperties source()

Get the source property: The properties of the source resource that this restore point collection is created from.

Returns:

the source value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RestorePointCollectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RestorePointCollectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public RestorePointCollectionInner withLocation(String location)

Overrides:

RestorePointCollectionInner.withLocation(String location)

Parameters:

location

withSource

public RestorePointCollectionInner withSource(RestorePointCollectionSourceProperties source)

Set the source property: The properties of the source resource that this restore point collection is created from.

Parameters:

source - the source value to set.

Returns:

the RestorePointCollectionInner object itself.

withTags

public RestorePointCollectionInner withTags(Map tags)

Overrides:

RestorePointCollectionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to