KeyCreationTime Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. KeyCreationTime
- com.
Implements
public final class KeyCreationTime
implements JsonSerializable<KeyCreationTime>
Storage account keys creation time.
Constructor Summary
Constructor | Description |
---|---|
KeyCreationTime() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
Offset |
key1()
Get the key1 property: The key1 property. |
Offset |
key2()
Get the key2 property: The key2 property. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Key |
withKey1(OffsetDateTime key1)
Set the key1 property: The key1 property. |
Key |
withKey2(OffsetDateTime key2)
Set the key2 property: The key2 property. |
Methods inherited from java.lang.Object
Constructor Details
KeyCreationTime
public KeyCreationTime()
Creates an instance of KeyCreationTime class.
Method Details
fromJson
public static KeyCreationTime fromJson(JsonReader jsonReader)
Reads an instance of KeyCreationTime from the JsonReader.
Parameters:
Returns:
Throws:
key1
public OffsetDateTime key1()
Get the key1 property: The key1 property.
Returns:
key2
public OffsetDateTime key2()
Get the key2 property: The key2 property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKey1
public KeyCreationTime withKey1(OffsetDateTime key1)
Set the key1 property: The key1 property.
Parameters:
Returns:
withKey2
public KeyCreationTime withKey2(OffsetDateTime key2)
Set the key2 property: The key2 property.
Parameters:
Returns:
Applies to
Azure SDK for Java