Class StorageAccountKey
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.StorageAccountKey
-
public final class StorageAccountKey extends Object
An access key for the storage account.
-
-
Constructor Summary
Constructors Constructor Description StorageAccountKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreationTime()Get the creationTime property: Creation time of the key, in round trip date format.StringkeyName()Get the keyName property: Name of the key.KeyPermissionpermissions()Get the permissions property: Permissions for the key -- read-only or full permissions.voidvalidate()Validates the instance.Stringvalue()Get the value property: Base 64-encoded value of the key.
-
-
-
Method Detail
-
keyName
public String keyName()
Get the keyName property: Name of the key.- Returns:
- the keyName value.
-
value
public String value()
Get the value property: Base 64-encoded value of the key.- Returns:
- the value value.
-
permissions
public KeyPermission permissions()
Get the permissions property: Permissions for the key -- read-only or full permissions.- Returns:
- the permissions value.
-
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Creation time of the key, in round trip date format.- Returns:
- the creationTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-