public class CreateKeyRequest extends AbstractModel
Constructor and Description |
---|
CreateKeyRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Get
|
String |
getDescription()
Get
|
String |
getKeyUsage()
Get
|
Long |
getType()
Get Specifies the key type.
|
void |
setAlias(String Alias)
Set
|
void |
setDescription(String Description)
Set
|
void |
setKeyUsage(String KeyUsage)
Set
|
void |
setType(Long Type)
Set Specifies the key type.
|
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 String getAlias()
public void setAlias(String Alias)
Alias
- public String getDescription()
public void setDescription(String Description)
Description
- public String getKeyUsage()
public void setKeyUsage(String KeyUsage)
KeyUsage
- public Long getType()
public void setType(Long Type)
Type
- Specifies the key type. Default value: 1. Valid value: 1 - default type, indicating that the CMK is created by KMS; 2 - EXTERNAL type, indicating that you need to import key material. For more information, please see the `GetParametersForImport` and `ImportKeyMaterial` API documents.Copyright © 2020. All rights reserved.