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.
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
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.