EncryptionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. EncryptionProperties
- com.
Implements
public final class EncryptionProperties
implements JsonSerializable<EncryptionProperties>
The container group encryption properties.
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 |
String |
identity()
Get the identity property: The keyvault managed identity. |
String |
keyName()
Get the key |
String |
keyVersion()
Get the key |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
vaultBaseUrl()
Get the vault |
Encryption |
withIdentity(String identity)
Set the identity property: The keyvault managed identity. |
Encryption |
withKeyName(String keyName)
Set the key |
Encryption |
withKeyVersion(String keyVersion)
Set the key |
Encryption |
withVaultBaseUrl(String vaultBaseUrl)
Set the vault |
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 String identity()
Get the identity property: The keyvault managed identity.
Returns:
keyName
public String keyName()
Get the keyName property: The encryption key name.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: The encryption key version.
Returns:
toJson
validate
public void validate()
Validates the instance.
vaultBaseUrl
public String vaultBaseUrl()
Get the vaultBaseUrl property: The keyvault base url.
Returns:
withIdentity
public EncryptionProperties withIdentity(String identity)
Set the identity property: The keyvault managed identity.
Parameters:
Returns:
withKeyName
public EncryptionProperties withKeyName(String keyName)
Set the keyName property: The encryption key name.
Parameters:
Returns:
withKeyVersion
public EncryptionProperties withKeyVersion(String keyVersion)
Set the keyVersion property: The encryption key version.
Parameters:
Returns:
withVaultBaseUrl
public EncryptionProperties withVaultBaseUrl(String vaultBaseUrl)
Set the vaultBaseUrl property: The keyvault base url.
Parameters:
Returns:
Applies to
Azure SDK for Java