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 specificchannelArnandviewerIdpair in the request.Each error object is related to a specificchannelArnandviewerIdpair in the request.errors(BatchStartViewerSessionRevocationError... errors) Each error object is related to a specificchannelArnandviewerIdpair in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
channelArnandviewerIdpair in the request.- Parameters:
errors- Each error object is related to a specificchannelArnandviewerIdpair 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
channelArnandviewerIdpair in the request.- Parameters:
errors- Each error object is related to a specificchannelArnandviewerIdpair 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 thechannelArnandviewerIdpair in the request.BatchStartViewerSessionRevocationError.Builderavoiding the need to create one manually viaBatchStartViewerSessionRevocationError.builder().When the
Consumercompletes,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:
-