Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> KinesisRequest.Builder,SdkBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelName(String channelName) The name of the channel.default CreateChannelRequest.BuilderencryptionConfiguration(Consumer<ChannelEncryptionConfiguration.Builder> encryptionConfiguration) The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination.encryptionConfiguration(ChannelEncryptionConfiguration encryptionConfiguration) The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination.default CreateChannelRequest.BuilderloggingConfiguration(Consumer<ChannelLoggingConfiguration.Builder> loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.loggingConfiguration(ChannelLoggingConfiguration loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateChannelRequest.Builders3DestinationConfiguration(Consumer<S3DestinationConfiguration.Builder> s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket.s3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket.default CreateChannelRequest.Builders3TablesDestinationConfiguration(Consumer<S3TablesDestinationConfiguration.Builder> s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables.s3TablesDestinationConfiguration(S3TablesDestinationConfiguration s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables.serviceExecutionRoleARN(String serviceExecutionRoleARN) The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.streamConfigurationList(Collection<ChannelStreamConfiguration> streamConfigurationList) The source stream configuration for the channel.streamConfigurationList(Consumer<ChannelStreamConfiguration.Builder>... streamConfigurationList) The source stream configuration for the channel.streamConfigurationList(ChannelStreamConfiguration... streamConfigurationList) The source stream configuration for the channel.A set of key-value pairs to assign to the channel.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.kinesis.model.KinesisRequest.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
-
channelName
The name of the channel. The name is unique within your Amazon Web Services account and Amazon Web Services Region.
- Parameters:
channelName- The name of the channel. The name is unique within your Amazon Web Services account and Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceExecutionRoleARN
The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.
- Parameters:
serviceExecutionRoleARN- The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
CreateChannelRequest.Builder streamConfigurationList(Collection<ChannelStreamConfiguration> streamConfigurationList) The source stream configuration for the channel. Currently, one stream is supported per channel.
- Parameters:
streamConfigurationList- The source stream configuration for the channel. Currently, one stream is supported per channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
CreateChannelRequest.Builder streamConfigurationList(ChannelStreamConfiguration... streamConfigurationList) The source stream configuration for the channel. Currently, one stream is supported per channel.
- Parameters:
streamConfigurationList- The source stream configuration for the channel. Currently, one stream is supported per channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
CreateChannelRequest.Builder streamConfigurationList(Consumer<ChannelStreamConfiguration.Builder>... streamConfigurationList) The source stream configuration for the channel. Currently, one stream is supported per channel.
This is a convenience method that creates an instance of theChannelStreamConfiguration.Builderavoiding the need to create one manually viaChannelStreamConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamConfigurationList(List<ChannelStreamConfiguration>).- Parameters:
streamConfigurationList- a consumer that will call methods onChannelStreamConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3DestinationConfiguration
CreateChannelRequest.Builder s3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket. You must specify either
S3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.- Parameters:
s3DestinationConfiguration- The configuration for delivery to a general purpose Amazon S3 bucket. You must specify eitherS3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DestinationConfiguration
default CreateChannelRequest.Builder s3DestinationConfiguration(Consumer<S3DestinationConfiguration.Builder> s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket. You must specify either
This is a convenience method that creates an instance of theS3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.S3DestinationConfiguration.Builderavoiding the need to create one manually viaS3DestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3DestinationConfiguration(S3DestinationConfiguration).- Parameters:
s3DestinationConfiguration- a consumer that will call methods onS3DestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3TablesDestinationConfiguration
CreateChannelRequest.Builder s3TablesDestinationConfiguration(S3TablesDestinationConfiguration s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. You must specify either
S3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.- Parameters:
s3TablesDestinationConfiguration- The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. You must specify eitherS3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3TablesDestinationConfiguration
default CreateChannelRequest.Builder s3TablesDestinationConfiguration(Consumer<S3TablesDestinationConfiguration.Builder> s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. You must specify either
This is a convenience method that creates an instance of theS3DestinationConfigurationorS3TablesDestinationConfiguration, but not both.S3TablesDestinationConfiguration.Builderavoiding the need to create one manually viaS3TablesDestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3TablesDestinationConfiguration(S3TablesDestinationConfiguration).- Parameters:
s3TablesDestinationConfiguration- a consumer that will call methods onS3TablesDestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
CreateChannelRequest.Builder encryptionConfiguration(ChannelEncryptionConfiguration encryptionConfiguration) The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination.
- Parameters:
encryptionConfiguration- The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateChannelRequest.Builder encryptionConfiguration(Consumer<ChannelEncryptionConfiguration.Builder> encryptionConfiguration) The server-side encryption configuration that uses an Amazon Web Services KMS key to encrypt data delivered to the destination.
This is a convenience method that creates an instance of theChannelEncryptionConfiguration.Builderavoiding the need to create one manually viaChannelEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(ChannelEncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onChannelEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A set of key-value pairs to assign to the channel. A tag consists of a required key and an optional value.
- Parameters:
tags- A set of key-value pairs to assign to the channel. A tag consists of a required key and an optional value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
The Amazon CloudWatch Logs configuration for the channel.
- Parameters:
loggingConfiguration- The Amazon CloudWatch Logs configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default CreateChannelRequest.Builder loggingConfiguration(Consumer<ChannelLoggingConfiguration.Builder> loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.
This is a convenience method that creates an instance of theChannelLoggingConfiguration.Builderavoiding the need to create one manually viaChannelLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(ChannelLoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onChannelLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateChannelRequest.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
CreateChannelRequest.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.
-