CustomerManagedKeyEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. CustomerManagedKeyEncryption
- com.
Implements
public final class CustomerManagedKeyEncryption
implements JsonSerializable<CustomerManagedKeyEncryption>
All Customer-managed key encryption properties for the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerManagedKeyEncryption() |
Creates an instance of Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Customer |
fromJson(JsonReader jsonReader)
Reads an instance of Customer |
|
Customer |
keyEncryptionKeyIdentity()
Get the key |
| String |
keyEncryptionKeyUrl()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Customer |
withKeyEncryptionKeyIdentity(CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity)
Set the key |
|
Customer |
withKeyEncryptionKeyUrl(String keyEncryptionKeyUrl)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
CustomerManagedKeyEncryption
public CustomerManagedKeyEncryption()
Creates an instance of CustomerManagedKeyEncryption class.
Method Details
fromJson
public static CustomerManagedKeyEncryption fromJson(JsonReader jsonReader)
Reads an instance of CustomerManagedKeyEncryption from the JsonReader.
Parameters:
Returns:
Throws:
keyEncryptionKeyIdentity
public CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity()
Get the keyEncryptionKeyIdentity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Returns:
keyEncryptionKeyUrl
public String keyEncryptionKeyUrl()
Get the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyEncryptionKeyIdentity
public CustomerManagedKeyEncryption withKeyEncryptionKeyIdentity(CustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity)
Set the keyEncryptionKeyIdentity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Parameters:
Returns:
withKeyEncryptionKeyUrl
public CustomerManagedKeyEncryption withKeyEncryptionKeyUrl(String keyEncryptionKeyUrl)
Set the keyEncryptionKeyUrl property: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
Parameters:
Returns: