public class CreateApiKeyRequest extends AbstractModel
Constructor and Description |
---|
CreateApiKeyRequest() |
CreateApiKeyRequest(CreateApiKeyRequest 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 |
getAccessKeyId()
Get Custom key ID, which is required if `AccessKeyType` is `manual`.
|
String |
getAccessKeySecret()
Get Custom key, which is required if `AccessKeyType` is `manual`.
|
String |
getAccessKeyType()
Get Key type.
|
String |
getSecretName()
Get Custom key name.
|
void |
setAccessKeyId(String AccessKeyId)
Set Custom key ID, which is required if `AccessKeyType` is `manual`.
|
void |
setAccessKeySecret(String AccessKeySecret)
Set Custom key, which is required if `AccessKeyType` is `manual`.
|
void |
setAccessKeyType(String AccessKeyType)
Set Key type.
|
void |
setSecretName(String SecretName)
Set Custom key name.
|
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 CreateApiKeyRequest()
public CreateApiKeyRequest(CreateApiKeyRequest source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName
- Custom key name.public String getAccessKeyType()
public void setAccessKeyType(String AccessKeyType)
AccessKeyType
- Key type. Valid values: auto, manual (custom key). Default value: auto.public String getAccessKeyId()
public void setAccessKeyId(String AccessKeyId)
AccessKeyId
- Custom key ID, which is required if `AccessKeyType` is `manual`. It can contain 5–50 letters, digits, and underscores.public String getAccessKeySecret()
public void setAccessKeySecret(String AccessKeySecret)
AccessKeySecret
- Custom key, which is required if `AccessKeyType` is `manual`. It can contain 10–50 letters, digits, and underscores.Copyright © 2023. All rights reserved.