Interface DescribeChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> KinesisResponse.Builder,SdkBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeChannelResponse
@Mutable
@NotThreadSafe
public static interface DescribeChannelResponse.Builder
extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<DescribeChannelResponse.Builder,DescribeChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeChannelResponse.BuilderchannelDescription(Consumer<ChannelDescription.Builder> channelDescription) The configuration and current status of the channel, including its ARN, source stream, destination configuration, and lifecycle state.channelDescription(ChannelDescription channelDescription) The configuration and current status of the channel, including its ARN, source stream, destination configuration, and lifecycle state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.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
-
channelDescription
The configuration and current status of the channel, including its ARN, source stream, destination configuration, and lifecycle state.
- Parameters:
channelDescription- The configuration and current status of the channel, including its ARN, source stream, destination configuration, and lifecycle state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDescription
default DescribeChannelResponse.Builder channelDescription(Consumer<ChannelDescription.Builder> channelDescription) The configuration and current status of the channel, including its ARN, source stream, destination configuration, and lifecycle state.
This is a convenience method that creates an instance of theChannelDescription.Builderavoiding the need to create one manually viaChannelDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelDescription(ChannelDescription).- Parameters:
channelDescription- a consumer that will call methods onChannelDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-