Class UpdateSshKeyRequest

java.lang.Object
com.cloudera.cdp.environments.model.UpdateSshKeyRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-05-14T11:34:35.786-07:00") public class UpdateSshKeyRequest extends Object
The request object for updating the environment SSH key.
  • Constructor Details Link icon

    • UpdateSshKeyRequest Link icon

      public UpdateSshKeyRequest()
  • Method Details Link icon

    • getEnvironment Link icon

      public String getEnvironment()
      Getter for environment. The name or the CRN of the environment.
    • setEnvironment Link icon

      public void setEnvironment(String environment)
      Setter for environment. The name or the CRN of the environment.
    • getNewPublicKey Link icon

      public String getNewPublicKey()
      Getter for newPublicKey. A new SSH public key that is stored locally. Either this or an existing public key ID has to be given.
    • setNewPublicKey Link icon

      public void setNewPublicKey(String newPublicKey)
      Setter for newPublicKey. A new SSH public key that is stored locally. Either this or an existing public key ID has to be given.
    • getExistingPublicKeyId Link icon

      public String getExistingPublicKeyId()
      Getter for existingPublicKeyId. The ID of the existing SSH public key that is stored on the cloud provider side. Either this or a new public key has to be given.
    • setExistingPublicKeyId Link icon

      public void setExistingPublicKeyId(String existingPublicKeyId)
      Setter for existingPublicKeyId. The ID of the existing SSH public key that is stored on the cloud provider side. Either this or a new public key has to be given.
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object