Interface DescribeFleetEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFleetEventsResponse.Builder,,DescribeFleetEventsResponse> GameLiftResponse.Builder,SdkBuilder<DescribeFleetEventsResponse.Builder,,DescribeFleetEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeFleetEventsResponse
@Mutable
@NotThreadSafe
public static interface DescribeFleetEventsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeFleetEventsResponse.Builder,DescribeFleetEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<Event> events) A collection of objects containing event log entries for the specified fleet.events(Consumer<Event.Builder>... events) A collection of objects containing event log entries for the specified fleet.A collection of objects containing event log entries for the specified fleet.A token that indicates where to resume retrieving results on the next call to this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
A collection of objects containing event log entries for the specified fleet.
- Parameters:
events- A collection of objects containing event log entries for the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A collection of objects containing event log entries for the specified fleet.
- Parameters:
events- A collection of objects containing event log entries for the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A collection of objects containing event log entries for the specified fleet.
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
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-