Class EncryptionProperties
- java.lang.Object
-
- com.azure.resourcemanager.containerinstance.models.EncryptionProperties
-
public final class EncryptionProperties extends Object
The container group encryption properties.
-
-
Constructor Summary
Constructors Constructor Description EncryptionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringkeyName()Get the keyName property: The encryption key name.StringkeyVersion()Get the keyVersion property: The encryption key version.voidvalidate()Validates the instance.StringvaultBaseUrl()Get the vaultBaseUrl property: The keyvault base url.EncryptionPropertieswithKeyName(String keyName)Set the keyName property: The encryption key name.EncryptionPropertieswithKeyVersion(String keyVersion)Set the keyVersion property: The encryption key version.EncryptionPropertieswithVaultBaseUrl(String vaultBaseUrl)Set the vaultBaseUrl property: The keyvault base url.
-
-
-
Method Detail
-
vaultBaseUrl
public String vaultBaseUrl()
Get the vaultBaseUrl property: The keyvault base url.- Returns:
- the vaultBaseUrl value.
-
withVaultBaseUrl
public EncryptionProperties withVaultBaseUrl(String vaultBaseUrl)
Set the vaultBaseUrl property: The keyvault base url.- Parameters:
vaultBaseUrl- the vaultBaseUrl value to set.- Returns:
- the EncryptionProperties object itself.
-
keyName
public String keyName()
Get the keyName property: The encryption key name.- Returns:
- the keyName value.
-
withKeyName
public EncryptionProperties withKeyName(String keyName)
Set the keyName property: The encryption key name.- Parameters:
keyName- the keyName value to set.- Returns:
- the EncryptionProperties object itself.
-
keyVersion
public String keyVersion()
Get the keyVersion property: The encryption key version.- Returns:
- the keyVersion value.
-
withKeyVersion
public EncryptionProperties withKeyVersion(String keyVersion)
Set the keyVersion property: The encryption key version.- Parameters:
keyVersion- the keyVersion value to set.- Returns:
- the EncryptionProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-