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="2023-12-01T13:59:42.174-08:00") public class AddSshPublicKeyRequest extends Object
Request object for add user ssh public key.
-
-
Constructor Summary
Constructors Constructor Description AddSshPublicKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getActorCrn()
Getter for actorCrn.String
getDescription()
Getter for description.String
getPublicKey()
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.String
toString()
-
-
-
Method Detail
-
getPublicKey
public String 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
public void setPublicKey(String publicKey)
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
public String 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
public void setActorCrn(String actorCrn)
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
public String getDescription()
Getter for description. An optional description for the public key.
-
setDescription
public void setDescription(String description)
Setter for description. An optional description for the public key.
-
-