public class GetParametersForImportResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetParametersForImportResponse() |
GetParametersForImportResponse(GetParametersForImportResponse 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 |
getImportToken()
Get The token required for importing key material, which is used as a parameter for `ImportKeyMaterial`.
|
String |
getKeyId()
Get Unique ID of a CMK, which is used to specify the CMK into which to import key material.
|
Long |
getParametersValidTo()
Get Validity period of the token and public key.
|
String |
getPublicKey()
Get The Base64-encoded RSA public key used to encrypt key material before importing it with `ImportKeyMaterial`.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setImportToken(String ImportToken)
Set The token required for importing key material, which is used as a parameter for `ImportKeyMaterial`.
|
void |
setKeyId(String KeyId)
Set Unique ID of a CMK, which is used to specify the CMK into which to import key material.
|
void |
setParametersValidTo(Long ParametersValidTo)
Set Validity period of the token and public key.
|
void |
setPublicKey(String PublicKey)
Set The Base64-encoded RSA public key used to encrypt key material before importing it with `ImportKeyMaterial`.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GetParametersForImportResponse()
public GetParametersForImportResponse(GetParametersForImportResponse source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Unique ID of a CMK, which is used to specify the CMK into which to import key material.public String getImportToken()
public void setImportToken(String ImportToken)
ImportToken
- The token required for importing key material, which is used as a parameter for `ImportKeyMaterial`.public String getPublicKey()
public void setPublicKey(String PublicKey)
PublicKey
- The Base64-encoded RSA public key used to encrypt key material before importing it with `ImportKeyMaterial`.public Long getParametersValidTo()
public void setParametersValidTo(Long ParametersValidTo)
ParametersValidTo
- Validity period of the token and public key. A token and public key can only be imported when they are valid. If they are expired, you will need to call the `GetParametersForImport` API again to get a new token and public key.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.