Interface ListParticipantEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListParticipantEventsResponse.Builder,,ListParticipantEventsResponse> IvsRealTimeResponse.Builder,SdkBuilder<ListParticipantEventsResponse.Builder,,ListParticipantEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListParticipantEventsResponse
public static interface ListParticipantEventsResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListParticipantEventsResponse.Builder,ListParticipantEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<Event> events) List of the matching events.events(Consumer<Event.Builder>... events) List of the matching events.List of the matching events.If there are more events thanmaxResults, usenextTokenin the request to get the next set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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
-
events
List of the matching events.
- Parameters:
events- List of the matching events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
List of the matching events.
- Parameters:
events- List of the matching events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
List of the matching events.
This is a convenience method that creates an instance of theEvent.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<Event>).- Parameters:
events- a consumer that will call methods onEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more events than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more events thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-