Class AccountKeyMetadata
java.lang.Object
com.azure.resourcemanager.cosmos.models.AccountKeyMetadata
The metadata related to an access key for a given database account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the generationTime property: Generation time in UTC of the key in ISO-8601 format.voidvalidate()Validates the instance.
-
Constructor Details
-
AccountKeyMetadata
public AccountKeyMetadata()Creates an instance of AccountKeyMetadata class.
-
-
Method Details
-
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.
-