Class UpdateSshKeyRequest
java.lang.Object
com.cloudera.cdp.environments.model.UpdateSshKeyRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-28T14:00:28.895-07:00")
public class UpdateSshKeyRequest
extends Object
The request object for updating the environment SSH key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for environment.Getter for existingPublicKeyId.Getter for newPublicKey.inthashCode()voidsetEnvironment(String environment) Setter for environment.voidsetExistingPublicKeyId(String existingPublicKeyId) Setter for existingPublicKeyId.voidsetNewPublicKey(String newPublicKey) Setter for newPublicKey.toString()
-
Constructor Details
-
UpdateSshKeyRequest
public UpdateSshKeyRequest()
-
-
Method Details
-
getEnvironment
Getter for environment. The name or the CRN of the environment. -
setEnvironment
Setter for environment. The name or the CRN of the environment. -
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
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
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
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
-
hashCode
public int hashCode() -
toString
-