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 withStartTimeto bound aListQueriesrequest, 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 withEndTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
EndTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.- Parameters:
startTime- Use withEndTimeto bound aListQueriesrequest, 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
StartTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.- Parameters:
endTime- Use withStartTimeto bound aListQueriesrequest, 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
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED.- Parameters:
queryStatus- The status of queries that you want to return in results. Valid values forQueryStatusincludeQUEUED,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
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED.- Parameters:
queryStatus- The status of queries that you want to return in results. Valid values forQueryStatusincludeQUEUED,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-