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