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 updated channel.channelDescription(ChannelDescription channelDescription) The configuration and current status of the updated channel.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 updated channel.
- Parameters:
channelDescription- The configuration and current status of the updated channel.- 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 updated channel.
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:
-