EncryptionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. EncryptionProperties
- com.
public final class EncryptionProperties
The container group encryption properties.
Constructor Summary
Constructor | Description |
---|---|
EncryptionProperties() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
identity()
Get the identity property: The keyvault managed identity. |
String |
keyName()
Get the key |
String |
keyVersion()
Get the key |
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
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for