Class EncryptionProperty
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.EncryptionProperty
-
public final class EncryptionProperty extends Object
The EncryptionProperty model.
-
-
Constructor Summary
Constructors Constructor Description EncryptionProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyVaultPropertieskeyVaultProperties()Get the keyVaultProperties property: Key vault properties.EncryptionStatusstatus()Get the status property: Indicates whether or not the encryption is enabled for container registry.voidvalidate()Validates the instance.EncryptionPropertywithKeyVaultProperties(KeyVaultProperties keyVaultProperties)Set the keyVaultProperties property: Key vault properties.EncryptionPropertywithStatus(EncryptionStatus status)Set the status property: Indicates whether or not the encryption is enabled for container registry.
-
-
-
Method Detail
-
status
public EncryptionStatus status()
Get the status property: Indicates whether or not the encryption is enabled for container registry.- Returns:
- the status value.
-
withStatus
public EncryptionProperty withStatus(EncryptionStatus status)
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
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Key vault properties.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
public EncryptionProperty withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
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.
-
-