Class SshGenerateKeyPairInputParameters

java.lang.Object
com.azure.resourcemanager.compute.models.SshGenerateKeyPairInputParameters

public final class SshGenerateKeyPairInputParameters extends Object
Parameters for GenerateSshKeyPair.
  • Constructor Details

    • SshGenerateKeyPairInputParameters

      public SshGenerateKeyPairInputParameters()
      Creates an instance of SshGenerateKeyPairInputParameters class.
  • Method Details

    • encryptionType

      public SshEncryptionTypes 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

      public SshGenerateKeyPairInputParameters withEncryptionType(SshEncryptionTypes encryptionType)
      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.