Class KeyVaultKeyAttributes

java.lang.Object
com.azure.resourcemanager.logic.models.KeyVaultKeyAttributes

public final class KeyVaultKeyAttributes extends Object
The key attributes.
  • Constructor Details

    • KeyVaultKeyAttributes

      public KeyVaultKeyAttributes()
      Creates an instance of KeyVaultKeyAttributes class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Whether the key is enabled or not.
      Returns:
      the enabled value.
    • withEnabled

      public KeyVaultKeyAttributes withEnabled(Boolean enabled)
      Set the enabled property: Whether the key is enabled or not.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the KeyVaultKeyAttributes object itself.
    • created

      public Long created()
      Get the created property: When the key was created.
      Returns:
      the created value.
    • withCreated

      public KeyVaultKeyAttributes withCreated(Long created)
      Set the created property: When the key was created.
      Parameters:
      created - the created value to set.
      Returns:
      the KeyVaultKeyAttributes object itself.
    • updated

      public Long updated()
      Get the updated property: When the key was updated.
      Returns:
      the updated value.
    • withUpdated

      public KeyVaultKeyAttributes withUpdated(Long updated)
      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.