Package com.cloudera.cdp.iam.model
Class AddSshPublicKeyRequest
java.lang.Object
com.cloudera.cdp.iam.model.AddSshPublicKeyRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:27.842-07:00")
public class AddSshPublicKeyRequest
extends Object
Request object for add user ssh public key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for actorCrn.Getter for description.Getter for publicKey.int
hashCode()
void
setActorCrn
(String actorCrn) Setter for actorCrn.void
setDescription
(String description) Setter for description.void
setPublicKey
(String publicKey) Setter for publicKey.toString()
-
Constructor Details
-
AddSshPublicKeyRequest
public AddSshPublicKeyRequest()
-
-
Method Details
-
getPublicKey
Getter for publicKey. The RSA or ED25519 public ssh key to add. DSA and ECDSA public keys are not supported. The public key should be in RFC4253 format. (e.g. ssh-rsa AAAAB3NzaC1yc2EAAA.. user@host) as produced, for example, by ssh-keygen. -
setPublicKey
Setter for publicKey. The RSA or ED25519 public ssh key to add. DSA and ECDSA public keys are not supported. The public key should be in RFC4253 format. (e.g. ssh-rsa AAAAB3NzaC1yc2EAAA.. user@host) as produced, for example, by ssh-keygen. -
getActorCrn
Getter for actorCrn. The CRN of the user or machine user for whom the SSH public key will be added. If it is not included, it defaults to the user making the request. -
setActorCrn
Setter for actorCrn. The CRN of the user or machine user for whom the SSH public key will be added. If it is not included, it defaults to the user making the request. -
getDescription
Getter for description. An optional description for the public key. -
setDescription
Setter for description. An optional description for the public key. -
equals
-
hashCode
public int hashCode() -
toString
-