Interface ListQueriesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<ListQueriesRequest.Builder,ListQueriesRequest>,SdkBuilder<ListQueriesRequest.Builder,ListQueriesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListQueriesRequest
public static interface ListQueriesRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<ListQueriesRequest.Builder,ListQueriesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListQueriesRequest.BuilderendTime(Instant endTime)Use withStartTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.ListQueriesRequest.BuildereventDataStore(String eventDataStore)The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.ListQueriesRequest.BuildermaxResults(Integer maxResults)The maximum number of queries to show on a page.ListQueriesRequest.BuildernextToken(String nextToken)A token you can use to get the next page of results.ListQueriesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListQueriesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListQueriesRequest.BuilderqueryStatus(String queryStatus)The status of queries that you want to return in results.ListQueriesRequest.BuilderqueryStatus(QueryStatus queryStatus)The status of queries that you want to return in results.ListQueriesRequest.BuilderstartTime(Instant startTime)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
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, sdkFields
-
-
-
-
Method Detail
-
eventDataStore
ListQueriesRequest.Builder eventDataStore(String 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
ListQueriesRequest.Builder nextToken(String 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
ListQueriesRequest.Builder maxResults(Integer 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
ListQueriesRequest.Builder startTime(Instant 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
ListQueriesRequest.Builder endTime(Instant 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
ListQueriesRequest.Builder queryStatus(String 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,QueryStatus
-
queryStatus
ListQueriesRequest.Builder queryStatus(QueryStatus 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,QueryStatus
-
overrideConfiguration
ListQueriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListQueriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-