Class KeyVaultKeyAttributes
java.lang.Object
com.azure.resourcemanager.logic.models.KeyVaultKeyAttributes
The key attributes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreated()
Get the created property: When the key was created.enabled()
Get the enabled property: Whether the key is enabled or not.updated()
Get the updated property: When the key was updated.void
validate()
Validates the instance.withCreated
(Long created) Set the created property: When the key was created.withEnabled
(Boolean enabled) Set the enabled property: Whether the key is enabled or not.withUpdated
(Long updated) Set the updated property: When the key was updated.
-
Constructor Details
-
KeyVaultKeyAttributes
public KeyVaultKeyAttributes()Creates an instance of KeyVaultKeyAttributes class.
-
-
Method Details
-
enabled
Get the enabled property: Whether the key is enabled or not.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Whether the key is enabled or not.- Parameters:
enabled
- the enabled value to set.- Returns:
- the KeyVaultKeyAttributes object itself.
-
created
Get the created property: When the key was created.- Returns:
- the created value.
-
withCreated
Set the created property: When the key was created.- Parameters:
created
- the created value to set.- Returns:
- the KeyVaultKeyAttributes object itself.
-
updated
Get the updated property: When the key was updated.- Returns:
- the updated value.
-
withUpdated
Set the updated property: When the key was updated.- Parameters:
updated
- the updated value to set.- Returns:
- the KeyVaultKeyAttributes object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-