public final class KeyVaultKeyAttributes extends Object
Constructor and Description |
---|
KeyVaultKeyAttributes() |
Modifier and Type | Method and Description |
---|---|
Long |
created()
Get the created property: When the key was created.
|
Boolean |
enabled()
Get the enabled property: Whether the key is enabled or not.
|
Long |
updated()
Get the updated property: When the key was updated.
|
void |
validate()
Validates the instance.
|
KeyVaultKeyAttributes |
withCreated(Long created)
Set the created property: When the key was created.
|
KeyVaultKeyAttributes |
withEnabled(Boolean enabled)
Set the enabled property: Whether the key is enabled or not.
|
KeyVaultKeyAttributes |
withUpdated(Long updated)
Set the updated property: When the key was updated.
|
public Boolean enabled()
public KeyVaultKeyAttributes withEnabled(Boolean enabled)
enabled
- the enabled value to set.public Long created()
public KeyVaultKeyAttributes withCreated(Long created)
created
- the created value to set.public Long updated()
public KeyVaultKeyAttributes withUpdated(Long updated)
updated
- the updated value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.