public class GenerateDataKeyRequest extends AbstractModel
Constructor and Description |
---|
GenerateDataKeyRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionContext()
Get
|
String |
getKeyId()
Get
|
String |
getKeySpec()
Get Specifies the encryption algorithm and size of the `DataKey`.
|
Long |
getNumberOfBytes()
Get Length of the `DataKey`.
|
void |
setEncryptionContext(String EncryptionContext)
Set
|
void |
setKeyId(String KeyId)
Set
|
void |
setKeySpec(String KeySpec)
Set Specifies the encryption algorithm and size of the `DataKey`.
|
void |
setNumberOfBytes(Long NumberOfBytes)
Set Length of the `DataKey`.
|
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 getKeyId()
public void setKeyId(String KeyId)
KeyId
- public String getKeySpec()
public void setKeySpec(String KeySpec)
KeySpec
- Specifies the encryption algorithm and size of the `DataKey`. Valid values: AES_128, AES_256. Either `KeySpec` or `NumberOfBytes` must be specified.public Long getNumberOfBytes()
public void setNumberOfBytes(Long NumberOfBytes)
NumberOfBytes
- Length of the `DataKey`. If both `NumberOfBytes` and `KeySpec` are specified, `NumberOfBytes` will prevail. Minimum value: 1; maximum value: 1024. Either `KeySpec` or `NumberOfBytes` must be specified.public String getEncryptionContext()
public void setEncryptionContext(String EncryptionContext)
EncryptionContext
- Copyright © 2020. All rights reserved.