Class UpdateSshKeyRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:47.341-07:00")
    public class UpdateSshKeyRequest
    extends Object
    The request object for updating the environment SSH key.
    • Constructor Detail

      • UpdateSshKeyRequest

        public UpdateSshKeyRequest()
    • Method Detail

      • getEnvironment

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

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

        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

        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

        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

        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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object