Class EncryptionProperty
java.lang.Object
com.azure.resourcemanager.containerregistry.models.EncryptionProperty
The EncryptionProperty model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the keyVaultProperties property: Key vault properties.status()Get the status property: Indicates whether or not the encryption is enabled for container registry.voidvalidate()Validates the instance.withKeyVaultProperties(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: Key vault properties.withStatus(EncryptionStatus status) Set the status property: Indicates whether or not the encryption is enabled for container registry.
-
Constructor Details
-
EncryptionProperty
public EncryptionProperty()Creates an instance of EncryptionProperty class.
-
-
Method Details
-
status
Get the status property: Indicates whether or not the encryption is enabled for container registry.- Returns:
- the status value.
-
withStatus
Set the status property: Indicates whether or not the encryption is enabled for container registry.- Parameters:
status- the status value to set.- Returns:
- the EncryptionProperty object itself.
-
keyVaultProperties
Get the keyVaultProperties property: Key vault properties.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: Key vault properties.- Parameters:
keyVaultProperties- the keyVaultProperties value to set.- Returns:
- the EncryptionProperty object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-