VaultAccessPolicyParametersInner Class

public final class VaultAccessPolicyParametersInner
extends ProxyResource

Parameters for updating the access policy in a vault.

Constructor Summary

Constructor Description
VaultAccessPolicyParametersInner()

Creates an instance of VaultAccessPolicyParametersInner class.

Method Summary

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

Reads an instance of VaultAccessPolicyParametersInner from the JsonReader.

String id()

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

String location()

Get the location property: The resource type of the access policy.

String name()

Get the name property: The name of the resource.

VaultAccessPolicyProperties properties()

Get the properties property: Properties of the access policy.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VaultAccessPolicyParametersInner withProperties(VaultAccessPolicyProperties properties)

Set the properties property: Properties of the access policy.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

VaultAccessPolicyParametersInner

public VaultAccessPolicyParametersInner()

Creates an instance of VaultAccessPolicyParametersInner class.

Method Details

fromJson

public static VaultAccessPolicyParametersInner fromJson(JsonReader jsonReader)

Reads an instance of VaultAccessPolicyParametersInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

VaultAccessPolicyParametersInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The resource type of the access policy.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VaultAccessPolicyParametersInner.name()

Returns:

the name value.

properties

public VaultAccessPolicyProperties properties()

Get the properties property: Properties of the access policy.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VaultAccessPolicyParametersInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VaultAccessPolicyParametersInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public VaultAccessPolicyParametersInner withProperties(VaultAccessPolicyProperties properties)

Set the properties property: Properties of the access policy.

Parameters:

properties - the properties value to set.

Returns:

the VaultAccessPolicyParametersInner object itself.

Applies to