### YamlMime:JavaType uid: "com.azure.resourcemanager.storage.models.SshPublicKey" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey" name: "SshPublicKey" nameWithType: "SshPublicKey" summary: "The SshPublicKey model." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **SshPublicKey**
implements <>" constructors: - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.SshPublicKey()" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.SshPublicKey()" name: "SshPublicKey()" nameWithType: "SshPublicKey.SshPublicKey()" summary: "Creates an instance of SshPublicKey class." syntax: "public SshPublicKey()" desc: "Creates an instance of SshPublicKey class." methods: - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.description()" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.description()" name: "description()" nameWithType: "SshPublicKey.description()" summary: "Get the description property: Optional." syntax: "public String description()" desc: "Get the description property: Optional. It is used to store the function/usage of the key." returns: description: "the description value." type: "String" - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "SshPublicKey.fromJson(JsonReader jsonReader)" summary: "Reads an instance of SshPublicKey from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static SshPublicKey fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the SshPublicKey." type: "IOException" desc: "Reads an instance of SshPublicKey from the JsonReader." returns: description: "An instance of SshPublicKey if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.key()" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.key()" name: "key()" nameWithType: "SshPublicKey.key()" summary: "Get the key property: Ssh public key base64 encoded." syntax: "public String key()" desc: "Get the key property: Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB." returns: description: "the key value." type: "String" - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "SshPublicKey.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.validate()" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.validate()" name: "validate()" nameWithType: "SshPublicKey.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.withDescription(java.lang.String)" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.withDescription(String description)" name: "withDescription(String description)" nameWithType: "SshPublicKey.withDescription(String description)" summary: "Set the description property: Optional." parameters: - description: "the description value to set." name: "description" type: "String" syntax: "public SshPublicKey withDescription(String description)" desc: "Set the description property: Optional. It is used to store the function/usage of the key." returns: description: "the SshPublicKey object itself." type: "" - uid: "com.azure.resourcemanager.storage.models.SshPublicKey.withKey(java.lang.String)" fullName: "com.azure.resourcemanager.storage.models.SshPublicKey.withKey(String key)" name: "withKey(String key)" nameWithType: "SshPublicKey.withKey(String key)" summary: "Set the key property: Ssh public key base64 encoded." parameters: - description: "the key value to set." name: "key" type: "String" syntax: "public SshPublicKey withKey(String key)" desc: "Set the key property: Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB." returns: description: "the SshPublicKey object itself." type: "" type: "class" desc: "The SshPublicKey model." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.storage.models" artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0