Interface StopStreamEncryptionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>
,KinesisRequest.Builder
,SdkBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- StopStreamEncryptionRequest
public static interface StopStreamEncryptionRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StopStreamEncryptionRequest.Builder
encryptionType(String encryptionType)
The encryption type.StopStreamEncryptionRequest.Builder
encryptionType(EncryptionType encryptionType)
The encryption type.StopStreamEncryptionRequest.Builder
keyId(String keyId)
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.StopStreamEncryptionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
StopStreamEncryptionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
StopStreamEncryptionRequest.Builder
streamARN(String streamARN)
The ARN of the stream.StopStreamEncryptionRequest.Builder
streamName(String streamName)
The name of the stream on which to stop encrypting records.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
streamName
StopStreamEncryptionRequest.Builder streamName(String streamName)
The name of the stream on which to stop encrypting records.
- Parameters:
streamName
- The name of the stream on which to stop encrypting records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionType
StopStreamEncryptionRequest.Builder encryptionType(String encryptionType)
The encryption type. The only valid value is
KMS
.- Parameters:
encryptionType
- The encryption type. The only valid value isKMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType
,EncryptionType
-
encryptionType
StopStreamEncryptionRequest.Builder encryptionType(EncryptionType encryptionType)
The encryption type. The only valid value is
KMS
.- Parameters:
encryptionType
- The encryption type. The only valid value isKMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType
,EncryptionType
-
keyId
StopStreamEncryptionRequest.Builder keyId(String keyId)
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (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 Data 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 Data Streams:
alias/aws/kinesis
- Parameters:
keyId
- The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (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 Data Streams by specifying the aliasaws/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 Data Streams:
alias/aws/kinesis
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
streamARN
StopStreamEncryptionRequest.Builder streamARN(String streamARN)
The ARN of the stream.
- Parameters:
streamARN
- The ARN of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopStreamEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
StopStreamEncryptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-