Interface BatchStartViewerSessionRevocationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchStartViewerSessionRevocationRequest.Builder,,BatchStartViewerSessionRevocationRequest> IvsRequest.Builder,SdkBuilder<BatchStartViewerSessionRevocationRequest.Builder,,BatchStartViewerSessionRevocationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchStartViewerSessionRevocationRequest
public static interface BatchStartViewerSessionRevocationRequest.Builder
extends IvsRequest.Builder, SdkPojo, CopyableBuilder<BatchStartViewerSessionRevocationRequest.Builder,BatchStartViewerSessionRevocationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.viewerSessions(Collection<BatchStartViewerSessionRevocationViewerSession> viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.viewerSessions(Consumer<BatchStartViewerSessionRevocationViewerSession.Builder>... viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.viewerSessions(BatchStartViewerSessionRevocationViewerSession... viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
viewerSessions
BatchStartViewerSessionRevocationRequest.Builder viewerSessions(Collection<BatchStartViewerSessionRevocationViewerSession> viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.
- Parameters:
viewerSessions- Array of viewer sessions, one per channel-ARN and viewer-ID pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewerSessions
BatchStartViewerSessionRevocationRequest.Builder viewerSessions(BatchStartViewerSessionRevocationViewerSession... viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.
- Parameters:
viewerSessions- Array of viewer sessions, one per channel-ARN and viewer-ID pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewerSessions
BatchStartViewerSessionRevocationRequest.Builder viewerSessions(Consumer<BatchStartViewerSessionRevocationViewerSession.Builder>... viewerSessions) Array of viewer sessions, one per channel-ARN and viewer-ID pair.
This is a convenience method that creates an instance of theBatchStartViewerSessionRevocationViewerSession.Builderavoiding the need to create one manually viaBatchStartViewerSessionRevocationViewerSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviewerSessions(List<BatchStartViewerSessionRevocationViewerSession>).- Parameters:
viewerSessions- a consumer that will call methods onBatchStartViewerSessionRevocationViewerSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchStartViewerSessionRevocationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchStartViewerSessionRevocationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-