Interface GetChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetChannelResponse.Builder,
,GetChannelResponse> IvsResponse.Builder
,SdkBuilder<GetChannelResponse.Builder,
,GetChannelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetChannelResponse
public static interface GetChannelResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<GetChannelResponse.Builder,GetChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetChannelResponse.Builder
channel
(Consumer<Channel.Builder> channel) This is a convenience method that creates an instance of theChannel.Builder
avoiding the need to create one manually viaChannel.builder()
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channel
- Parameters:
channel
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channel
This is a convenience method that creates an instance of theChannel.Builder
avoiding the need to create one manually viaChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannel(Channel)
.- Parameters:
channel
- a consumer that will call methods onChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-