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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListParticipantEventsResponse.Builderevents(Collection<Event> events)List of the matching events.ListParticipantEventsResponse.Builderevents(Consumer<Event.Builder>... events)List of the matching events.ListParticipantEventsResponse.Builderevents(Event... events)List of the matching events.ListParticipantEventsResponse.BuildernextToken(String nextToken)If there are more events thanmaxResults, usenextTokenin the request to get the next set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
events
ListParticipantEventsResponse.Builder events(Collection<Event> 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
ListParticipantEventsResponse.Builder events(Event... 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
ListParticipantEventsResponse.Builder events(Consumer<Event.Builder>... 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 to#events(List.) - 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:
#events(java.util.Collection)
-
nextToken
ListParticipantEventsResponse.Builder nextToken(String 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.
-
-