Interface DescribeChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> KafkaResponse.Builder,SdkBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeChannelResponse
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The Amazon Resource Name (ARN) that uniquely identifies the channel.channelName(String channelName) The name of the channel.clusterOperationArn(String clusterOperationArn) The Amazon Resource Name (ARN) of the in-flight cluster operation.creationTime(Instant creationTime) The time when the channel was created.destinationType(String destinationType) The type of destination configured for the channel.destinationType(ChannelDestinationType destinationType) The type of destination configured for the channel.default DescribeChannelResponse.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration applied to the channel.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration applied to the channel.default DescribeChannelResponse.BuildericebergDestinationConfiguration(Consumer<IcebergDestinationConfiguration.Builder> icebergDestinationConfiguration) The Apache Iceberg destination for the channel, if configured.icebergDestinationConfiguration(IcebergDestinationConfiguration icebergDestinationConfiguration) The Apache Iceberg destination for the channel, if configured.default DescribeChannelResponse.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.default DescribeChannelResponse.Builders3DestinationConfiguration(Consumer<S3DestinationConfiguration.Builder> s3DestinationConfiguration) The Amazon S3 destination for the channel, if configured.s3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration) The Amazon S3 destination for the channel, if configured.default DescribeChannelResponse.BuilderstateInfo(Consumer<ChannelStateInfo.Builder> stateInfo) Additional context for the current channel state, populated when the channel is in FAILED.stateInfo(ChannelStateInfo stateInfo) Additional context for the current channel state, populated when the channel is in FAILED.The current lifecycle state of the channel.status(ChannelStatus status) The current lifecycle state of 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.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelArn
The Amazon Resource Name (ARN) that uniquely identifies the channel.
- Parameters:
channelArn-The Amazon Resource Name (ARN) that uniquely identifies the channel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name of the channel.
- Parameters:
channelName- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
DescribeChannelResponse.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 DescribeChannelResponse.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
DescribeChannelResponse.Builder icebergDestinationConfiguration(IcebergDestinationConfiguration icebergDestinationConfiguration) The Apache Iceberg destination for the channel, if configured.
- Parameters:
icebergDestinationConfiguration- The Apache Iceberg destination for the channel, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
icebergDestinationConfiguration
default DescribeChannelResponse.Builder icebergDestinationConfiguration(Consumer<IcebergDestinationConfiguration.Builder> icebergDestinationConfiguration) The Apache Iceberg destination for the channel, if configured.
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
DescribeChannelResponse.Builder s3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration) The Amazon S3 destination for the channel, if configured.
- Parameters:
s3DestinationConfiguration- The Amazon S3 destination for the channel, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DestinationConfiguration
default DescribeChannelResponse.Builder s3DestinationConfiguration(Consumer<S3DestinationConfiguration.Builder> s3DestinationConfiguration) The Amazon S3 destination for the channel, if configured.
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:
-
status
The current lifecycle state of the channel.
- Parameters:
status- The current lifecycle state of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle state of the channel.
- Parameters:
status- The current lifecycle state of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
The type of destination configured for the channel.
- Parameters:
destinationType- The type of destination configured for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
The type of destination configured for the channel.
- Parameters:
destinationType- The type of destination configured for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the channel was created.
- Parameters:
creationTime-The time when the channel was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
DescribeChannelResponse.Builder topicConfigurationList(Collection<TopicConfiguration> topicConfigurationList) The list of topic configurations for the channel.
- Parameters:
topicConfigurationList- The list of topic configurations for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
DescribeChannelResponse.Builder topicConfigurationList(TopicConfiguration... topicConfigurationList) The list of topic configurations for the channel.
- Parameters:
topicConfigurationList- The list of topic configurations for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationList
DescribeChannelResponse.Builder topicConfigurationList(Consumer<TopicConfiguration.Builder>... topicConfigurationList) The list of topic configurations for the channel.
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
default DescribeChannelResponse.Builder loggingInfo(Consumer<ChannelLoggingInfo.Builder> 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:
-
stateInfo
Additional context for the current channel state, populated when the channel is in FAILED.
- Parameters:
stateInfo- Additional context for the current channel state, populated when the channel is in FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateInfo
Additional context for the current channel state, populated when the channel is in FAILED.
This is a convenience method that creates an instance of theChannelStateInfo.Builderavoiding the need to create one manually viaChannelStateInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateInfo(ChannelStateInfo).- Parameters:
stateInfo- a consumer that will call methods onChannelStateInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterOperationArn
The Amazon Resource Name (ARN) of the in-flight cluster operation. Returned only while the channel is in CREATING, UPDATING, or DELETING.
- Parameters:
clusterOperationArn- The Amazon Resource Name (ARN) of the in-flight cluster operation. Returned only while the channel is in CREATING, UPDATING, or DELETING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-