Interface LookupEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<LookupEventsResponse.Builder,
,LookupEventsResponse> SdkBuilder<LookupEventsResponse.Builder,
,LookupEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
LookupEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) A list of events returned based on the lookup attributes specified and the CloudTrail event.events
(Consumer<Event.Builder>... events) A list of events returned based on the lookup attributes specified and the CloudTrail event.A list of events returned based on the lookup attributes specified and the CloudTrail event.The token to use to get the next page of results after a previous API call.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
- Parameters:
events
- A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
- Parameters:
events
- A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
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 token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
- Parameters:
nextToken
- The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-