Interface CreateStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStreamRequest.Builder,,CreateStreamRequest> DsqlRequest.Builder,SdkBuilder<CreateStreamRequest.Builder,,CreateStreamRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.clusterIdentifier(String clusterIdentifier) The ID of the cluster for which to create the stream.The format of the stream records.format(StreamFormat format) The format of the stream records.The ordering mode for the stream.ordering(StreamOrdering ordering) The ordering mode for the stream.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of key and value pairs to use to tag your stream.default CreateStreamRequest.BuildertargetDefinition(Consumer<TargetDefinition.Builder> targetDefinition) The target destination configuration for the stream.targetDefinition(TargetDefinition targetDefinition) The target destination configuration for the stream.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dsql.model.DsqlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterIdentifier
The ID of the cluster for which to create the stream.
- Parameters:
clusterIdentifier- The ID of the cluster for which to create the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDefinition
The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.
- Parameters:
targetDefinition- The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDefinition
default CreateStreamRequest.Builder targetDefinition(Consumer<TargetDefinition.Builder> targetDefinition) The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.
This is a convenience method that creates an instance of theTargetDefinition.Builderavoiding the need to create one manually viaTargetDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDefinition(TargetDefinition).- Parameters:
targetDefinition- a consumer that will call methods onTargetDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ordering
The ordering mode for the stream. Determines how change events are ordered when delivered to the target.
- Parameters:
ordering- The ordering mode for the stream. Determines how change events are ordered when delivered to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ordering
The ordering mode for the stream. Determines how change events are ordered when delivered to the target.
- Parameters:
ordering- The ordering mode for the stream. Determines how change events are ordered when delivered to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the stream records.
- Parameters:
format- The format of the stream records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the stream records.
- Parameters:
format- The format of the stream records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of key and value pairs to use to tag your stream.
- Parameters:
tags- A map of key and value pairs to use to tag your stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.
If you don't specify a client token, the Amazon Web Services SDK automatically generates one.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.If you don't specify a client token, the Amazon Web Services SDK automatically generates one.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-