Interface LookupEventsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<LookupEventsResponse.Builder,LookupEventsResponse>, SdkBuilder<LookupEventsResponse.Builder,LookupEventsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
LookupEventsResponse

public static interface LookupEventsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<LookupEventsResponse.Builder,LookupEventsResponse>
  • 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 the Event.Builder avoiding the need to create one manually via Event.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to events(List<Event>).

      Parameters:
      events - a consumer that will call methods on Event.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      LookupEventsResponse.Builder nextToken(String 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.