public static final class ImportKeyMaterialRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ImportKeyMaterialRequest |
build() |
ImportKeyMaterialRequest.Builder |
encryptedKeyMaterial(String encryptedKeyMaterial)
Use **GetParametersForImport** the Returned public key and the base64-encoded key material.
|
ImportKeyMaterialRequest.Builder |
importToken(String importToken)
By calling **GetParametersForImport** the import token.
|
ImportKeyMaterialRequest.Builder |
keyId(String keyId)
The ID of the CMK to be imported.
|
ImportKeyMaterialRequest.Builder |
keyMaterialExpireUnix(Long keyMaterialExpireUnix)
The time when the key material expires.
|
public ImportKeyMaterialRequest.Builder encryptedKeyMaterial(String encryptedKeyMaterial)
public ImportKeyMaterialRequest.Builder importToken(String importToken)
public ImportKeyMaterialRequest.Builder keyId(String keyId)
public ImportKeyMaterialRequest.Builder keyMaterialExpireUnix(Long keyMaterialExpireUnix)
If this parameter is not specified or set this parameter to 0, the key material does not expire. > The value cannot be earlier than the time when the API is called (based on the server time).
public ImportKeyMaterialRequest build()
Copyright © 2023. All rights reserved.