java.lang.Object
com.azure.resourcemanager.resourceconnector.models.SshKey

public final class SshKey extends Object
Appliance SSHKey definition.
  • Constructor Details

    • SshKey

      public SshKey()
  • Method Details

    • privateKey

      public String privateKey()
      Get the privateKey property: User Private Key.
      Returns:
      the privateKey value.
    • withPrivateKey

      public SshKey withPrivateKey(String privateKey)
      Set the privateKey property: User Private Key.
      Parameters:
      privateKey - the privateKey value to set.
      Returns:
      the SshKey object itself.
    • publicKey

      public String publicKey()
      Get the publicKey property: User Public Key.
      Returns:
      the publicKey value.
    • withPublicKey

      public SshKey withPublicKey(String publicKey)
      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.