EncryptionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. loadtesting. models. EncryptionProperties
- com.
Implements
public final class EncryptionProperties
implements JsonSerializable<EncryptionProperties>
Key and identity details for Customer Managed Key encryption of load test resource.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionProperties() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
|
Encryption |
identity()
Get the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
| String |
keyUrl()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Encryption |
withIdentity(EncryptionPropertiesIdentity identity)
Set the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
|
Encryption |
withKeyUrl(String keyUrl)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
EncryptionProperties
public EncryptionProperties()
Creates an instance of EncryptionProperties class.
Method Details
fromJson
public static EncryptionProperties fromJson(JsonReader jsonReader)
Reads an instance of EncryptionProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public EncryptionPropertiesIdentity identity()
Get the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Returns:
keyUrl
public String keyUrl()
Get the keyUrl property: key encryption key Url, 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.
withIdentity
public EncryptionProperties withIdentity(EncryptionPropertiesIdentity identity)
Set the identity property: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Parameters:
Returns:
withKeyUrl
public EncryptionProperties withKeyUrl(String keyUrl)
Set the keyUrl property: key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
Parameters:
Returns: