Class SshGenerateKeyPairInputParameters
java.lang.Object
com.azure.resourcemanager.compute.models.SshGenerateKeyPairInputParameters
Parameters for GenerateSshKeyPair.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SshGenerateKeyPairInputParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionType property: The encryption type of the SSH keys to be generated.voidvalidate()Validates the instance.withEncryptionType(SshEncryptionTypes encryptionType) Set the encryptionType property: The encryption type of the SSH keys to be generated.
-
Constructor Details
-
SshGenerateKeyPairInputParameters
public SshGenerateKeyPairInputParameters()Creates an instance of SshGenerateKeyPairInputParameters class.
-
-
Method Details
-
encryptionType
Get the encryptionType property: The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.- Returns:
- the encryptionType value.
-
withEncryptionType
Set the encryptionType property: The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.- Parameters:
encryptionType- the encryptionType value to set.- Returns:
- the SshGenerateKeyPairInputParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-