Interface BatchGetChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetChannelResponse.Builder,
,BatchGetChannelResponse> IvsResponse.Builder
,SdkBuilder<BatchGetChannelResponse.Builder,
,BatchGetChannelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetChannelResponse
public static interface BatchGetChannelResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<BatchGetChannelResponse.Builder,BatchGetChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels
(Collection<Channel> channels) channels
(Consumer<Channel.Builder>... channels) This is a convenience method that creates an instance of theChannel.Builder
avoiding the need to create one manually viaChannel.builder()
.errors
(Collection<BatchError> errors) Each error object is related to a specific ARN in the request.errors
(Consumer<BatchError.Builder>... errors) Each error object is related to a specific ARN in the request.errors
(BatchError... errors) Each error object is related to a specific ARN in the request.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
-
channels
- Parameters:
channels
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
- Parameters:
channels
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
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 tochannels(List<Channel>)
.- Parameters:
channels
- 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:
-
errors
Each error object is related to a specific ARN in the request.
- Parameters:
errors
- Each error object is related to a specific ARN in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Each error object is related to a specific ARN in the request.
- Parameters:
errors
- Each error object is related to a specific ARN in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Each error object is related to a specific ARN in the request.
This is a convenience method that creates an instance of theBatchError.Builder
avoiding the need to create one manually viaBatchError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchError>)
.- Parameters:
errors
- a consumer that will call methods onBatchError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-