Class KeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.KeyVaultProperties
-
public final class KeyVaultProperties extends Object
The KeyVaultProperties model.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringidentity()Get the identity property: The client id of the identity which will be used to access key vault.StringkeyIdentifier()Get the keyIdentifier property: Key vault uri to access the encryption key.BooleankeyRotationEnabled()Get the keyRotationEnabled property: Auto key rotation status for a CMK enabled registry.OffsetDateTimelastKeyRotationTimestamp()Get the lastKeyRotationTimestamp property: Timestamp of the last successful key rotation.voidvalidate()Validates the instance.StringversionedKeyIdentifier()Get the versionedKeyIdentifier property: The fully qualified key identifier that includes the version of the key that is actually used for encryption.KeyVaultPropertieswithIdentity(String identity)Set the identity property: The client id of the identity which will be used to access key vault.KeyVaultPropertieswithKeyIdentifier(String keyIdentifier)Set the keyIdentifier property: Key vault uri to access the encryption key.
-
-
-
Method Detail
-
keyIdentifier
public String keyIdentifier()
Get the keyIdentifier property: Key vault uri to access the encryption key.- Returns:
- the keyIdentifier value.
-
withKeyIdentifier
public KeyVaultProperties withKeyIdentifier(String keyIdentifier)
Set the keyIdentifier property: Key vault uri to access the encryption key.- Parameters:
keyIdentifier- the keyIdentifier value to set.- Returns:
- the KeyVaultProperties object itself.
-
versionedKeyIdentifier
public String versionedKeyIdentifier()
Get the versionedKeyIdentifier property: The fully qualified key identifier that includes the version of the key that is actually used for encryption.- Returns:
- the versionedKeyIdentifier value.
-
identity
public String identity()
Get the identity property: The client id of the identity which will be used to access key vault.- Returns:
- the identity value.
-
withIdentity
public KeyVaultProperties withIdentity(String identity)
Set the identity property: The client id of the identity which will be used to access key vault.- Parameters:
identity- the identity value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyRotationEnabled
public Boolean keyRotationEnabled()
Get the keyRotationEnabled property: Auto key rotation status for a CMK enabled registry.- Returns:
- the keyRotationEnabled value.
-
lastKeyRotationTimestamp
public OffsetDateTime lastKeyRotationTimestamp()
Get the lastKeyRotationTimestamp property: Timestamp of the last successful key rotation.- Returns:
- the lastKeyRotationTimestamp value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-