Interface ListQueriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<ListQueriesResponse.Builder,,ListQueriesResponse> SdkBuilder<ListQueriesResponse.Builder,,ListQueriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQueriesResponse
@Mutable
@NotThreadSafe
public static interface ListQueriesResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<ListQueriesResponse.Builder,ListQueriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token you can use to get the next page of results.queries(Collection<Query> queries) Lists matching query results, and shows query ID, status, and creation time of each query.queries(Consumer<Query.Builder>... queries) Lists matching query results, and shows query ID, status, and creation time of each query.Lists matching query results, and shows query ID, status, and creation time of each query.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queries
Lists matching query results, and shows query ID, status, and creation time of each query.
- Parameters:
queries- Lists matching query results, and shows query ID, status, and creation time of each query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queries
Lists matching query results, and shows query ID, status, and creation time of each query.
- Parameters:
queries- Lists matching query results, and shows query ID, status, and creation time of each query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queries
Lists matching query results, and shows query ID, status, and creation time of each query.
This is a convenience method that creates an instance of theQuery.Builderavoiding the need to create one manually viaQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueries(List<Query>).- Parameters:
queries- a consumer that will call methods onQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-