Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> KafkaRequest.Builder,SdkBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelName(String channelName) The name of the channel.clusterArn(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.default CreateChannelRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration applied to the channel.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration applied to the channel.default CreateChannelRequest.BuildericebergDestinationConfiguration(Consumer<IcebergDestinationConfiguration.Builder> icebergDestinationConfiguration) The Apache Iceberg destination for the channel.icebergDestinationConfiguration(IcebergDestinationConfiguration icebergDestinationConfiguration) The Apache Iceberg destination for the channel.default CreateChannelRequest.BuilderloggingInfo(Consumer<ChannelLoggingInfo.Builder> loggingInfo) The destinations to which the channel publishes operational logs.loggingInfo(ChannelLoggingInfo loggingInfo) The destinations to which the channel publishes operational logs.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 Amazon S3 destination for the channel.s3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration) The Amazon S3 destination for the channel.The tags attached to the channel.topicConfigurationList(Collection<TopicConfiguration> topicConfigurationList) The list of topic configurations for the channel.topicConfigurationList(Consumer<TopicConfiguration.Builder>... topicConfigurationList) The list of topic configurations for the channel.topicConfigurationList(TopicConfiguration... topicConfigurationList) The list of topic configurations for 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.kafka.model.KafkaRequest.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. Must be unique within the cluster.
- Parameters:
channelName- The name of the channel. Must be unique within the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateChannelRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration applied to the channel.
- Parameters:
encryptionConfiguration- The encryption configuration applied to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateChannelRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration applied to the channel.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
icebergDestinationConfiguration
CreateChannelRequest.Builder icebergDestinationConfiguration(IcebergDestinationConfiguration icebergDestinationConfiguration) The Apache Iceberg destination for the channel. Mutually exclusive with s3DestinationConfiguration.
- Parameters:
icebergDestinationConfiguration- The Apache Iceberg destination for the channel. Mutually exclusive with s3DestinationConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
icebergDestinationConfiguration
default CreateChannelRequest.Builder icebergDestinationConfiguration(Consumer<IcebergDestinationConfiguration.Builder> icebergDestinationConfiguration) The Apache Iceberg destination for the channel. Mutually exclusive with s3DestinationConfiguration.
This is a convenience method that creates an instance of theIcebergDestinationConfiguration.Builderavoiding the need to create one manually viaIcebergDestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toicebergDestinationConfiguration(IcebergDestinationConfiguration).- Parameters:
icebergDestinationConfiguration- a consumer that will call methods onIcebergDestinationConfiguration.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 Amazon S3 destination for the channel. Mutually exclusive with icebergDestinationConfiguration.
- Parameters:
s3DestinationConfiguration- The Amazon S3 destination for the channel. Mutually exclusive with icebergDestinationConfiguration.- 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 Amazon S3 destination for the channel. Mutually exclusive with icebergDestinationConfiguration.
This is a convenience method that creates an instance of theS3DestinationConfiguration.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:
-
tags
The tags attached to the channel.
- Parameters:
tags- The tags attached to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
CreateChannelRequest.Builder topicConfigurationList(Collection<TopicConfiguration> topicConfigurationList) The list of topic configurations for the channel. Currently exactly one topic must be specified.
- Parameters:
topicConfigurationList- The list of topic configurations for the channel. Currently exactly one topic must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
The list of topic configurations for the channel. Currently exactly one topic must be specified.
- Parameters:
topicConfigurationList- The list of topic configurations for the channel. Currently exactly one topic must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
CreateChannelRequest.Builder topicConfigurationList(Consumer<TopicConfiguration.Builder>... topicConfigurationList) The list of topic configurations for the channel. Currently exactly one topic must be specified.
This is a convenience method that creates an instance of theTopicConfiguration.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopicConfigurationList(List<TopicConfiguration>).- Parameters:
topicConfigurationList- a consumer that will call methods onTopicConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingInfo
The destinations to which the channel publishes operational logs.
- Parameters:
loggingInfo- The destinations to which the channel publishes operational logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
The destinations to which the channel publishes operational logs.
This is a convenience method that creates an instance of theChannelLoggingInfo.Builderavoiding the need to create one manually viaChannelLoggingInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingInfo(ChannelLoggingInfo).- Parameters:
loggingInfo- a consumer that will call methods onChannelLoggingInfo.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.
-