BackupVaultResourceInner Class

public final class BackupVaultResourceInner
extends Resource

Backup Vault Resource.

Constructor Summary

Constructor Description
BackupVaultResourceInner()

Creates an instance of BackupVaultResourceInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Optional ETag.

static BackupVaultResourceInner fromJson(JsonReader jsonReader)

Reads an instance of BackupVaultResourceInner from the JsonReader.

String id()

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

DppIdentityDetails identity()

Get the identity property: Input Managed Identity Details.

String name()

Get the name property: The name of the resource.

BackupVault properties()

Get the properties property: BackupVaultResource properties.

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.

BackupVaultResourceInner withEtag(String etag)

Set the etag property: Optional ETag.

BackupVaultResourceInner withIdentity(DppIdentityDetails identity)

Set the identity property: Input Managed Identity Details.

BackupVaultResourceInner withLocation(String location)
BackupVaultResourceInner withProperties(BackupVault properties)

Set the properties property: BackupVaultResource properties.

BackupVaultResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

BackupVaultResourceInner

public BackupVaultResourceInner()

Creates an instance of BackupVaultResourceInner class.

Method Details

etag

public String etag()

Get the etag property: Optional ETag.

Returns:

the etag value.

fromJson

public static BackupVaultResourceInner fromJson(JsonReader jsonReader)

Reads an instance of BackupVaultResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BackupVaultResourceInner 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:

BackupVaultResourceInner.id()

Returns:

the id value.

identity

public DppIdentityDetails identity()

Get the identity property: Input Managed Identity Details.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BackupVaultResourceInner.name()

Returns:

the name value.

properties

public BackupVault properties()

Get the properties property: BackupVaultResource properties.

Returns:

the properties 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:

BackupVaultResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BackupVaultResourceInner.type()

Returns:

the type value.

withEtag

public BackupVaultResourceInner withEtag(String etag)

Set the etag property: Optional ETag.

Parameters:

etag - the etag value to set.

Returns:

the BackupVaultResourceInner object itself.

withIdentity

public BackupVaultResourceInner withIdentity(DppIdentityDetails identity)

Set the identity property: Input Managed Identity Details.

Parameters:

identity - the identity value to set.

Returns:

the BackupVaultResourceInner object itself.

withLocation

public BackupVaultResourceInner withLocation(String location)

Overrides:

BackupVaultResourceInner.withLocation(String location)

Parameters:

location

withProperties

public BackupVaultResourceInner withProperties(BackupVault properties)

Set the properties property: BackupVaultResource properties.

Parameters:

properties - the properties value to set.

Returns:

the BackupVaultResourceInner object itself.

withTags

public BackupVaultResourceInner withTags(Map<String,String> tags)

Overrides:

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

Parameters:

tags

Applies to