Class KeyCreationTime
java.lang.Object
com.azure.resourcemanager.storage.models.KeyCreationTime
Storage account keys creation time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkey1()Get the key1 property: The key1 property.key2()Get the key2 property: The key2 property.voidvalidate()Validates the instance.withKey1(OffsetDateTime key1) Set the key1 property: The key1 property.withKey2(OffsetDateTime key2) Set the key2 property: The key2 property.
-
Constructor Details
-
KeyCreationTime
public KeyCreationTime()Creates an instance of KeyCreationTime class.
-
-
Method Details
-
key1
Get the key1 property: The key1 property.- Returns:
- the key1 value.
-
withKey1
Set the key1 property: The key1 property.- Parameters:
key1- the key1 value to set.- Returns:
- the KeyCreationTime object itself.
-
key2
Get the key2 property: The key2 property.- Returns:
- the key2 value.
-
withKey2
Set the key2 property: The key2 property.- Parameters:
key2- the key2 value to set.- Returns:
- the KeyCreationTime object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-