Interface DescribeQueriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<DescribeQueriesResponse.Builder,,DescribeQueriesResponse> SdkBuilder<DescribeQueriesResponse.Builder,,DescribeQueriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeQueriesResponse
public static interface DescribeQueriesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeQueriesResponse.Builder,DescribeQueriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.queries(Collection<QueryInfo> queries) The list of queries that match the request.queries(Consumer<QueryInfo.Builder>... queries) The list of queries that match the request.The list of queries that match the request.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queries
The list of queries that match the request.
- Parameters:
queries- The list of queries that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queries
The list of queries that match the request.
- Parameters:
queries- The list of queries that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queries
The list of queries that match the request.
This is a convenience method that creates an instance of theQueryInfo.Builderavoiding the need to create one manually viaQueryInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueries(List<QueryInfo>).- Parameters:
queries- a consumer that will call methods onQueryInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-