ExternalKey Class

  • java.lang.Object
    • com.azure.security.keyvault.keys.models.ExternalKey

Implements

public final class ExternalKey
implements JsonSerializable<ExternalKey>

External Key parameters.

Constructor Summary

Constructor Description
ExternalKey(String id)

Creates an instance of ExternalKey class.

Method Summary

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

Reads an instance of ExternalKey from the JsonReader.

String getId()

Get the id property: The external key identifier.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ExternalKey

public ExternalKey(String id)

Creates an instance of ExternalKey class.

Parameters:

id - the id value to set.

Method Details

fromJson

public static ExternalKey fromJson(JsonReader jsonReader)

Reads an instance of ExternalKey from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExternalKey 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.

getId

public String getId()

Get the id property: The external key identifier. The valid id can only contain characters in the set [a-zA-Z0-9-]. Maximum length is 64 characters.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to