public class CreateSSHKeyPairSecretRequest extends AbstractModel
Constructor and Description |
---|
CreateSSHKeyPairSecretRequest() |
CreateSSHKeyPairSecretRequest(CreateSSHKeyPairSecretRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get Description, such as what it is used for.
|
String |
getKmsKeyId()
Get Specifies a KMS CMK to encrypt the secret.
|
Long |
getProjectId()
Get ID of the project to which the created SSH key belongs.
|
String |
getSecretName()
Get Secret name, which must be unique in the same region.
|
String |
getSSHKeyName()
Get Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter.
|
Tag[] |
getTags()
Get List of tags.
|
void |
setDescription(String Description)
Set Description, such as what it is used for.
|
void |
setKmsKeyId(String KmsKeyId)
Set Specifies a KMS CMK to encrypt the secret.
|
void |
setProjectId(Long ProjectId)
Set ID of the project to which the created SSH key belongs.
|
void |
setSecretName(String SecretName)
Set Secret name, which must be unique in the same region.
|
void |
setSSHKeyName(String SSHKeyName)
Set Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter.
|
void |
setTags(Tag[] Tags)
Set List of tags.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateSSHKeyPairSecretRequest()
public CreateSSHKeyPairSecretRequest(CreateSSHKeyPairSecretRequest source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName
- Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- ID of the project to which the created SSH key belongs.public String getDescription()
public void setDescription(String Description)
Description
- Description, such as what it is used for. It contains up to 2,048 bytes.public String getKmsKeyId()
public void setKmsKeyId(String KmsKeyId)
KmsKeyId
- Specifies a KMS CMK to encrypt the secret.
If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.
You can also specify a custom KMS CMK created in the same region for encryption.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of tags.public String getSSHKeyName()
public void setSSHKeyName(String SSHKeyName)
SSHKeyName
- Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The maximum length is 25 characters.Copyright © 2023. All rights reserved.