KeyVaultKeyReference Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. KeyVaultKeyReference
- com.
Implements
public final class KeyVaultKeyReference
implements JsonSerializable<KeyVaultKeyReference>
Describes a reference to key vault key.
Constructor Summary
| Constructor | Description |
|---|---|
| KeyVaultKeyReference() |
Creates an instance of Key |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
| String |
keyUrl()
Get the key |
|
Key |
sourceVault()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Key |
withKeyUrl(String keyUrl)
Set the key |
|
Key |
withSourceVault(KeyVaultKeyReferenceSourceVault sourceVault)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultKeyReference
public KeyVaultKeyReference()
Creates an instance of KeyVaultKeyReference class.
Method Details
fromJson
public static KeyVaultKeyReference fromJson(JsonReader jsonReader)
Reads an instance of KeyVaultKeyReference from the JsonReader.
Parameters:
Returns:
Throws:
keyUrl
public String keyUrl()
Get the keyUrl property: The URL referencing a key encryption key in key vault.
Returns:
sourceVault
public KeyVaultKeyReferenceSourceVault sourceVault()
Get the sourceVault property: Describes a resource Id to source key vault.
Returns:
toJson
withKeyUrl
public KeyVaultKeyReference withKeyUrl(String keyUrl)
Set the keyUrl property: The URL referencing a key encryption key in key vault.
Parameters:
Returns:
withSourceVault
public KeyVaultKeyReference withSourceVault(KeyVaultKeyReferenceSourceVault sourceVault)
Set the sourceVault property: Describes a resource Id to source key vault.
Parameters:
Returns: