AccountKeyMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. AccountKeyMetadata
- com.
Implements
public final class AccountKeyMetadata
implements JsonSerializable<AccountKeyMetadata>
The metadata related to an access key for a given database account.
Constructor Summary
Constructor | Description |
---|---|
AccountKeyMetadata() |
Creates an instance of Account |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Account |
fromJson(JsonReader jsonReader)
Reads an instance of Account |
Offset |
generationTime()
Get the generation |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
AccountKeyMetadata
public AccountKeyMetadata()
Creates an instance of AccountKeyMetadata class.
Method Details
fromJson
public static AccountKeyMetadata fromJson(JsonReader jsonReader)
Reads an instance of AccountKeyMetadata from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java