VaultInner Class

public final class VaultInner
extends Resource

Resource information with extended details.

Constructor Summary

Constructor Description
VaultInner()

Creates an instance of VaultInner class.

Method Summary

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

Reads an instance of VaultInner 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.

VaultProperties properties()

Get the properties property: Properties of the vault.

SystemData systemData()

Get the systemData property: System metadata for the key vault.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VaultInner withLocation(String location)
VaultInner withProperties(VaultProperties properties)

Set the properties property: Properties of the vault.

VaultInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VaultInner

public VaultInner()

Creates an instance of VaultInner class.

Method Details

fromJson

public static VaultInner fromJson(JsonReader jsonReader)

Reads an instance of VaultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

VaultInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VaultInner.name()

Returns:

the name value.

properties

public VaultProperties properties()

Get the properties property: Properties of the vault.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: System metadata for the key vault.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VaultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VaultInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public VaultInner withLocation(String location)

Overrides:

VaultInner.withLocation(String location)

Parameters:

location

withProperties

public VaultInner withProperties(VaultProperties properties)

Set the properties property: Properties of the vault.

Parameters:

properties - the properties value to set.

Returns:

the VaultInner object itself.

withTags

public VaultInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to