Interface DescribeEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>,HealthResponse.Builder,SdkBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEventsResponse
public static interface DescribeEventsResponse.Builder extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeEventsResponse.Builderevents(Collection<Event> events)The events that match the specified filter criteria.DescribeEventsResponse.Builderevents(Consumer<Event.Builder>... events)The events that match the specified filter criteria.DescribeEventsResponse.Builderevents(Event... events)The events that match the specified filter criteria.DescribeEventsResponse.BuildernextToken(String nextToken)If the results of a search are large, only a portion of the results are returned, and anextTokenpagination token is returned in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.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
DescribeEventsResponse.Builder events(Collection<Event> events)
The events that match the specified filter criteria.
- Parameters:
events- The events that match the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
DescribeEventsResponse.Builder events(Event... events)
The events that match the specified filter criteria.
- Parameters:
events- The events that match the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
DescribeEventsResponse.Builder events(Consumer<Event.Builder>... events)
The events that match the specified filter criteria.
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
DescribeEventsResponse.Builder nextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.- Parameters:
nextToken- If the results of a search are large, only a portion of the results are returned, and anextTokenpagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-