KeyInner Class

public final class KeyInner
extends ProxyResource

A workspace key.

Constructor Summary

Constructor Description
KeyInner()

Creates an instance of KeyInner class.

Method Summary

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

Reads an instance of KeyInner from the JsonReader.

String id()

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

Boolean isActiveCmk()

Get the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.

String keyVaultUrl()

Get the keyVaultUrl property: The Key Vault Url of the workspace key.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

KeyInner withIsActiveCmk(Boolean isActiveCmk)

Set the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.

KeyInner withKeyVaultUrl(String keyVaultUrl)

Set the keyVaultUrl property: The Key Vault Url of the workspace key.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

KeyInner

public KeyInner()

Creates an instance of KeyInner class.

Method Details

fromJson

public static KeyInner fromJson(JsonReader jsonReader)

Reads an instance of KeyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

KeyInner.id()

Returns:

the id value.

isActiveCmk

public Boolean isActiveCmk()

Get the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.

Returns:

the isActiveCmk value.

keyVaultUrl

public String keyVaultUrl()

Get the keyVaultUrl property: The Key Vault Url of the workspace key.

Returns:

the keyVaultUrl value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

KeyInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

KeyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

KeyInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIsActiveCmk

public KeyInner withIsActiveCmk(Boolean isActiveCmk)

Set the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.

Parameters:

isActiveCmk - the isActiveCmk value to set.

Returns:

the KeyInner object itself.

withKeyVaultUrl

public KeyInner withKeyVaultUrl(String keyVaultUrl)

Set the keyVaultUrl property: The Key Vault Url of the workspace key.

Parameters:

keyVaultUrl - the keyVaultUrl value to set.

Returns:

the KeyInner object itself.

Applies to