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