Interface CreateChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,MediaLiveResponse.Builder,SdkBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateChannelResponse
public static interface CreateChannelResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateChannelResponse.Builderchannel(Consumer<Channel.Builder> channel)Sets the value of the Channel property for this object.CreateChannelResponse.Builderchannel(Channel channel)Sets the value of the Channel property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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 Detail
-
channel
CreateChannelResponse.Builder channel(Channel channel)
Sets the value of the Channel property for this object.- Parameters:
channel- The new value for the Channel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channel
default CreateChannelResponse.Builder channel(Consumer<Channel.Builder> channel)
Sets the value of the Channel property for this object. This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,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:
channel(Channel)
-
-