Class CreateApiKeyRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.CreateApiKeyRequest
-
public class CreateApiKeyRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessKeyId()
Get 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。String
getAccessKeySecret()
Get 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。String
getAccessKeyType()
Get 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。String
getSecretName()
Get 用户自定义密钥名称。void
setAccessKeyId(String AccessKeyId)
Set 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。void
setAccessKeySecret(String AccessKeySecret)
Set 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。void
setAccessKeyType(String AccessKeyType)
Set 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。void
setSecretName(String SecretName)
Set 用户自定义密钥名称。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateApiKeyRequest
public CreateApiKeyRequest()
-
CreateApiKeyRequest
public 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.
-
-
Method Detail
-
getSecretName
public String getSecretName()
Get 用户自定义密钥名称。- Returns:
- SecretName 用户自定义密钥名称。
-
setSecretName
public void setSecretName(String SecretName)
Set 用户自定义密钥名称。- Parameters:
SecretName
- 用户自定义密钥名称。
-
getAccessKeyType
public String getAccessKeyType()
Get 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。- Returns:
- AccessKeyType 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。
-
setAccessKeyType
public void setAccessKeyType(String AccessKeyType)
Set 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。- Parameters:
AccessKeyType
- 密钥类型,支持 auto 和 manual(自定义密钥),默认为 auto。
-
getAccessKeyId
public String getAccessKeyId()
Get 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。- Returns:
- AccessKeyId 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。
-
setAccessKeyId
public void setAccessKeyId(String AccessKeyId)
Set 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。- Parameters:
AccessKeyId
- 用户自定义密钥 ID,AccessKeyType 为 manual 时必传。长度为5 - 50字符,由字母、数字、英文下划线组成。
-
getAccessKeySecret
public String getAccessKeySecret()
Get 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。- Returns:
- AccessKeySecret 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。
-
setAccessKeySecret
public void setAccessKeySecret(String AccessKeySecret)
Set 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。- Parameters:
AccessKeySecret
- 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。
-
-