Interface CreateChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateChannelResponse.Builder,,CreateChannelResponse> KinesisResponse.Builder,SdkBuilder<CreateChannelResponse.Builder,,CreateChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateChannelResponse
@Mutable
@NotThreadSafe
public static interface CreateChannelResponse.Builder
extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateChannelResponse.BuilderchannelDescription(Consumer<ChannelDescription.Builder> channelDescription) The configuration and current status of the channel, including its ARN, destination configuration, and lifecycle state.channelDescription(ChannelDescription channelDescription) The configuration and current status of the channel, including its ARN, 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, destination configuration, and lifecycle state. Immediately after creation, the state is
CREATING.- Parameters:
channelDescription- The configuration and current status of the channel, including its ARN, destination configuration, and lifecycle state. Immediately after creation, the state isCREATING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDescription
default CreateChannelResponse.Builder channelDescription(Consumer<ChannelDescription.Builder> channelDescription) The configuration and current status of the channel, including its ARN, destination configuration, and lifecycle state. Immediately after creation, the state is
This is a convenience method that creates an instance of theCREATING.ChannelDescription.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:
-