public static interface StartStreamEncryptionRequest.Builder extends KinesisRequest.Builder, software.amazon.awssdk.utils.builder.CopyableBuilder<StartStreamEncryptionRequest.Builder,StartStreamEncryptionRequest>
Modifier and Type | Method and Description |
---|---|
StartStreamEncryptionRequest.Builder |
encryptionType(EncryptionType encryptionType)
The encryption type to use.
|
StartStreamEncryptionRequest.Builder |
encryptionType(String encryptionType)
The encryption type to use.
|
StartStreamEncryptionRequest.Builder |
keyId(String keyId)
The GUID for the customer-managed KMS key to use for encryption.
|
StartStreamEncryptionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig) |
StartStreamEncryptionRequest.Builder |
streamName(String streamName)
The name of the stream for which to start encrypting records.
|
build
requestOverrideConfig, requestOverrideConfig
StartStreamEncryptionRequest.Builder streamName(String streamName)
The name of the stream for which to start encrypting records.
streamName
- The name of the stream for which to start encrypting records.StartStreamEncryptionRequest.Builder encryptionType(String encryptionType)
The encryption type to use. The only valid value is KMS
.
encryptionType
- The encryption type to use. The only valid value is KMS
.EncryptionType
,
EncryptionType
StartStreamEncryptionRequest.Builder encryptionType(EncryptionType encryptionType)
The encryption type to use. The only valid value is KMS
.
encryptionType
- The encryption type to use. The only valid value is KMS
.EncryptionType
,
EncryptionType
StartStreamEncryptionRequest.Builder keyId(String keyId)
The GUID for the customer-managed KMS key to use for encryption. This value can be a globally unique
identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can
also use a master key owned by Kinesis Streams by specifying the alias aws/kinesis
.
Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
Globally unique key ID example: 12345678-1234-1234-1234-123456789012
Alias name example: alias/MyAliasName
Master key owned by Kinesis Streams: alias/aws/kinesis
keyId
- The GUID for the customer-managed KMS key to use for encryption. This value can be a globally unique
identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by
"alias/".You can also use a master key owned by Kinesis Streams by specifying the alias
aws/kinesis
.
Key ARN example:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
Globally unique key ID example: 12345678-1234-1234-1234-123456789012
Alias name example: alias/MyAliasName
Master key owned by Kinesis Streams: alias/aws/kinesis
StartStreamEncryptionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
requestOverrideConfig
in interface AwsRequest.Builder
Copyright © 2018. All rights reserved.