Class AccountKeyMetadata

java.lang.Object
com.azure.resourcemanager.cosmos.models.AccountKeyMetadata

public final class AccountKeyMetadata extends Object
The metadata related to an access key for a given database account.
  • Constructor Details

    • AccountKeyMetadata

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

    • generationTime

      public OffsetDateTime generationTime()
      Get the generationTime property: Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
      Returns:
      the generationTime value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.