Class SshKey
java.lang.Object
com.azure.resourcemanager.resourceconnector.models.SshKey
Appliance SSHKey definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateKey property: User Private Key.Get the publicKey property: User Public Key.void
validate()
Validates the instance.withPrivateKey
(String privateKey) Set the privateKey property: User Private Key.withPublicKey
(String publicKey) Set the publicKey property: User Public Key.
-
Constructor Details
-
SshKey
public SshKey()
-
-
Method Details
-
privateKey
Get the privateKey property: User Private Key.- Returns:
- the privateKey value.
-
withPrivateKey
Set the privateKey property: User Private Key.- Parameters:
privateKey
- the privateKey value to set.- Returns:
- the SshKey object itself.
-
publicKey
Get the publicKey property: User Public Key.- Returns:
- the publicKey value.
-
withPublicKey
Set the publicKey property: User Public Key.- Parameters:
publicKey
- the publicKey value to set.- Returns:
- the SshKey object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-