Interface ListEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEventsResponse.Builder,
,ListEventsResponse> DevOpsGuruResponse.Builder
,SdkBuilder<ListEventsResponse.Builder,
,ListEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEventsResponse
public static interface ListEventsResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<ListEventsResponse.Builder,ListEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) A list of the requested events.events
(Consumer<Event.Builder>... events) A list of the requested events.A list of the requested events.The pagination token to use to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
A list of the requested events.
- Parameters:
events
- A list of the requested events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of the requested events.
- Parameters:
events
- A list of the requested events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of the requested events.
This is a convenience method that creates an instance of theEvent.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,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
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-