KeyVaultReference Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. KeyVaultReference
- com.
Implements
public final class KeyVaultReference
implements JsonSerializable<KeyVaultReference>
Azure Key Vault reference.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultReference() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
String |
id()
Get the id property: Azure Key Vault resource id. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Key |
withId(String id)
Set the id property: Azure Key Vault resource id. |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultReference
public KeyVaultReference()
Creates an instance of KeyVaultReference class.
Method Details
fromJson
public static KeyVaultReference fromJson(JsonReader jsonReader)
Reads an instance of KeyVaultReference from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Azure Key Vault resource id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public KeyVaultReference withId(String id)
Set the id property: Azure Key Vault resource id.
Parameters:
Returns:
Applies to
Azure SDK for Java