KeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. KeyVaultProperties
- com.
Implements
public final class KeyVaultProperties
implements JsonSerializable<KeyVaultProperties>
The KeyVaultProperties model.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultProperties() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
String |
identity()
Get the identity property: The client id of the identity which will be used to access key vault. |
String |
keyIdentifier()
Get the key |
Boolean |
keyRotationEnabled()
Get the key |
Offset |
lastKeyRotationTimestamp()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
versionedKeyIdentifier()
Get the versioned |
Key |
withIdentity(String identity)
Set the identity property: The client id of the identity which will be used to access key vault. |
Key |
withKeyIdentifier(String keyIdentifier)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultProperties
public KeyVaultProperties()
Creates an instance of KeyVaultProperties class.
Method Details
fromJson
public static KeyVaultProperties fromJson(JsonReader jsonReader)
Reads an instance of KeyVaultProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public String identity()
Get the identity property: The client id of the identity which will be used to access key vault.
Returns:
keyIdentifier
public String keyIdentifier()
Get the keyIdentifier property: Key vault uri to access the encryption key.
Returns:
keyRotationEnabled
public Boolean keyRotationEnabled()
Get the keyRotationEnabled property: Auto key rotation status for a CMK enabled registry.
Returns:
lastKeyRotationTimestamp
public OffsetDateTime lastKeyRotationTimestamp()
Get the lastKeyRotationTimestamp property: Timestamp of the last successful key rotation.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
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:
Returns:
withKeyIdentifier
public KeyVaultProperties withKeyIdentifier(String keyIdentifier)
Set the keyIdentifier property: Key vault uri to access the encryption key.
Parameters:
Returns:
Applies to
Azure SDK for Java