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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetChannelResponse.Builderchannels(Collection<Channel> channels)BatchGetChannelResponse.Builderchannels(Consumer<Channel.Builder>... channels)This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().BatchGetChannelResponse.Builderchannels(Channel... channels)BatchGetChannelResponse.Buildererrors(Collection<BatchError> errors)Each error object is related to a specific ARN in the request.BatchGetChannelResponse.Buildererrors(Consumer<BatchError.Builder>... errors)Each error object is related to a specific ARN in the request.BatchGetChannelResponse.Buildererrors(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 Detail
-
channels
BatchGetChannelResponse.Builder channels(Collection<Channel> channels)
- Parameters:
channels-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
BatchGetChannelResponse.Builder channels(Channel... channels)
- Parameters:
channels-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
BatchGetChannelResponse.Builder channels(Consumer<Channel.Builder>... channels)
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 to#channels(List.) - 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:
#channels(java.util.Collection)
-
errors
BatchGetChannelResponse.Builder errors(Collection<BatchError> 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
BatchGetChannelResponse.Builder errors(BatchError... 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
BatchGetChannelResponse.Builder errors(Consumer<BatchError.Builder>... errors)
Each error object is related to a specific ARN in the request.
This is a convenience method that creates an instance of theBatchError.Builderavoiding the need to create one manually viaBatchError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-