public static interface CreateChannelResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
Modifier and Type | Method and Description |
---|---|
CreateChannelResponse.Builder |
channel(Channel channel)
Sets the value of the Channel property for this object.
|
default CreateChannelResponse.Builder |
channel(Consumer<Channel.Builder> channel)
Sets the value of the Channel property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateChannelResponse.Builder channel(Channel channel)
channel
- The new value for the Channel property for this object.default CreateChannelResponse.Builder channel(Consumer<Channel.Builder> channel)
Channel.Builder
avoiding the need to create one
manually via Channel.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to channel(Channel)
.channel
- a consumer that will call methods on Channel.Builder
channel(Channel)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.