Interface ListQueriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudTrailRequest.Builder
,CopyableBuilder<ListQueriesRequest.Builder,
,ListQueriesRequest> SdkBuilder<ListQueriesRequest.Builder,
,ListQueriesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListQueriesRequest
-
Method Summary
Modifier and TypeMethodDescriptionUse withStartTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.eventDataStore
(String eventDataStore) The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.maxResults
(Integer maxResults) The maximum number of queries to show on a page.A token you can use to get the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryStatus
(String queryStatus) The status of queries that you want to return in results.queryStatus
(QueryStatus queryStatus) The status of queries that you want to return in results.Use withEndTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventDataStore
The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
- Parameters:
eventDataStore
- The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token you can use to get the next page of results.
- Parameters:
nextToken
- A token you can use to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of queries to show on a page.
- Parameters:
maxResults
- The maximum number of queries to show on a page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
Use with
EndTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.- Parameters:
startTime
- Use withEndTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Use with
StartTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.- Parameters:
endTime
- Use withStartTime
to bound aListQueries
request, and limit its results to only those queries run within a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStatus
The status of queries that you want to return in results. Valid values for
QueryStatus
includeQUEUED
,RUNNING
,FINISHED
,FAILED
,TIMED_OUT
, orCANCELLED
.- Parameters:
queryStatus
- The status of queries that you want to return in results. Valid values forQueryStatus
includeQUEUED
,RUNNING
,FINISHED
,FAILED
,TIMED_OUT
, orCANCELLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryStatus
The status of queries that you want to return in results. Valid values for
QueryStatus
includeQUEUED
,RUNNING
,FINISHED
,FAILED
,TIMED_OUT
, orCANCELLED
.- Parameters:
queryStatus
- The status of queries that you want to return in results. Valid values forQueryStatus
includeQUEUED
,RUNNING
,FINISHED
,FAILED
,TIMED_OUT
, orCANCELLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListQueriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListQueriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-