public static interface LookupEventsRequest.Builder extends CloudTrailRequest.Builder, CopyableBuilder<LookupEventsRequest.Builder,LookupEventsRequest>
Modifier and Type | Method and Description |
---|---|
LookupEventsRequest.Builder |
endTime(Instant endTime)
Specifies that only events that occur before or at the specified time are returned.
|
LookupEventsRequest.Builder |
lookupAttributes(Collection<LookupAttribute> lookupAttributes)
Contains a list of lookup attributes.
|
LookupEventsRequest.Builder |
lookupAttributes(Consumer<LookupAttribute.Builder>... lookupAttributes)
Contains a list of lookup attributes.
|
LookupEventsRequest.Builder |
lookupAttributes(LookupAttribute... lookupAttributes)
Contains a list of lookup attributes.
|
LookupEventsRequest.Builder |
maxResults(Integer maxResults)
The number of events to return.
|
LookupEventsRequest.Builder |
nextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
LookupEventsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
LookupEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
LookupEventsRequest.Builder |
startTime(Instant startTime)
Specifies that only events that occur after or at the specified time are returned.
|
build
overrideConfiguration
copy
applyMutation, build
LookupEventsRequest.Builder lookupAttributes(Collection<LookupAttribute> lookupAttributes)
Contains a list of lookup attributes. Currently the list can contain only one item.
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.LookupEventsRequest.Builder lookupAttributes(LookupAttribute... lookupAttributes)
Contains a list of lookup attributes. Currently the list can contain only one item.
lookupAttributes
- Contains a list of lookup attributes. Currently the list can contain only one item.LookupEventsRequest.Builder lookupAttributes(Consumer<LookupAttribute.Builder>... lookupAttributes)
Contains a list of lookup attributes. Currently the list can contain only one item.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #lookupAttributes(List)
.lookupAttributes
- a consumer that will call methods on List.Builder
#lookupAttributes(List)
LookupEventsRequest.Builder startTime(Instant startTime)
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
startTime
- Specifies that only events that occur after or at the specified time are returned. If the specified
start time is after the specified end time, an error is returned.LookupEventsRequest.Builder endTime(Instant endTime)
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
endTime
- Specifies that only events that occur before or at the specified time are returned. If the specified
end time is before the specified start time, an error is returned.LookupEventsRequest.Builder maxResults(Integer maxResults)
The number of events to return. Possible values are 1 through 50. The default is 10.
maxResults
- The number of events to return. Possible values are 1 through 50. The default is 10.LookupEventsRequest.Builder nextToken(String nextToken)
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original 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.
nextToken
- The token to use to get the next page of results after a previous API call. This token must be passed
in with the same parameters that were specified in the the original 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.LookupEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.LookupEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.