Share via


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.

Boolean instantAccess()

Get the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk.

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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RestorePointCollectionInner withInstantAccess(Boolean instantAccess)

Set the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk.

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.

instantAccess

public Boolean instantAccess()

Get the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance.

Returns:

the instantAccess 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<RestorePointInner> 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.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData 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.

withInstantAccess

public RestorePointCollectionInner withInstantAccess(Boolean instantAccess)

Set the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance.

Parameters:

instantAccess - the instantAccess value to set.

Returns:

the RestorePointCollectionInner object itself.

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<String,String> tags)

Overrides:

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

Parameters:

tags

Applies to