Class LocalUserKeysInner
java.lang.Object
com.azure.resourcemanager.storage.fluent.models.LocalUserKeysInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LocalUserKeysInner>
public final class LocalUserKeysInner
extends Object
implements com.azure.json.JsonSerializable<LocalUserKeysInner>
The Storage Account Local User keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalUserKeysInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LocalUserKeysInner from the JsonReader.Get the sharedKey property: Auto generated by the server for SMB authentication.Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys) Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
LocalUserKeysInner
public LocalUserKeysInner()Creates an instance of LocalUserKeysInner class.
-
-
Method Details
-
sshAuthorizedKeys
Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.- Returns:
- the sshAuthorizedKeys value.
-
withSshAuthorizedKeys
Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.- Parameters:
sshAuthorizedKeys- the sshAuthorizedKeys value to set.- Returns:
- the LocalUserKeysInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LocalUserKeysInner>- Throws:
IOException
-
fromJson
Reads an instance of LocalUserKeysInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LocalUserKeysInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the LocalUserKeysInner.
-