com.amazonaws.services.kinesis.model.Record.setEncryptionType()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(78)

本文整理了Java中com.amazonaws.services.kinesis.model.Record.setEncryptionType方法的一些代码示例,展示了Record.setEncryptionType的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.setEncryptionType方法的具体详情如下:
包路径:com.amazonaws.services.kinesis.model.Record
类名称:Record
方法名:setEncryptionType

Record.setEncryptionType介绍

[英]The encryption type used on the record. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.
  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

Constraints:
Allowed Values: NONE, KMS
[中]记录上使用的加密类型。此参数可以是以下值之一:
*NONE:不加密流中的记录。
*KMS:使用客户管理的AWS KMS密钥对流中的记录使用服务器端加密。
限制条件:
允许值:无,KMS

代码示例

代码示例来源:origin: aws/aws-sdk-java

setEncryptionType(encryptionType);
return this;

代码示例来源:origin: aws/aws-sdk-java

record.setEncryptionType(context.getUnmarshaller(String.class).unmarshall(context));

代码示例来源:origin: aws-amplify/aws-sdk-android

.unmarshall(context));
} else if (name.equals("EncryptionType")) {
  record.setEncryptionType(StringJsonUnmarshaller.getInstance()
      .unmarshall(context));
} else {

代码示例来源:origin: com.amazonaws/aws-java-sdk-kinesis

setEncryptionType(encryptionType);
return this;

代码示例来源:origin: com.amazonaws/aws-java-sdk-kinesis

record.setEncryptionType(context.getUnmarshaller(String.class).unmarshall(context));

相关文章