ClientEncryptionKeyGetResultsInner Class

public final class ClientEncryptionKeyGetResultsInner
extends ArmProxyResource

Client Encryption Key.

Constructor Summary

Constructor Description
ClientEncryptionKeyGetResultsInner()

Creates an instance of ClientEncryptionKeyGetResultsInner class.

Method Summary

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

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

ClientEncryptionKeyGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ClientEncryptionKeyGetResultsInner withResource(ClientEncryptionKeyGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from ArmProxyResource

Methods inherited from java.lang.Object

Constructor Details

ClientEncryptionKeyGetResultsInner

public ClientEncryptionKeyGetResultsInner()

Creates an instance of ClientEncryptionKeyGetResultsInner class.

Method Details

fromJson

public static ClientEncryptionKeyGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of ClientEncryptionKeyGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ClientEncryptionKeyGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ClientEncryptionKeyGetResultsInner.name()

Returns:

the name value.

resource

public ClientEncryptionKeyGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ClientEncryptionKeyGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ClientEncryptionKeyGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ClientEncryptionKeyGetResultsInner.validate()

withResource

public ClientEncryptionKeyGetResultsInner withResource(ClientEncryptionKeyGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the ClientEncryptionKeyGetResultsInner object itself.

Applies to