Interface ListProtectedQueriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<ListProtectedQueriesResponse.Builder,,ListProtectedQueriesResponse> SdkBuilder<ListProtectedQueriesResponse.Builder,,ListProtectedQueriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProtectedQueriesResponse
public static interface ListProtectedQueriesResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedQueriesResponse.Builder,ListProtectedQueriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token value retrieved from a previous call to access the next page of results.protectedQueries(Collection<ProtectedQuerySummary> protectedQueries) A list of protected queries.protectedQueries(Consumer<ProtectedQuerySummary.Builder>... protectedQueries) A list of protected queries.protectedQueries(ProtectedQuerySummary... protectedQueries) A list of protected queries.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.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
-
nextToken
The token value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken- The token value retrieved from a previous call to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedQueries
ListProtectedQueriesResponse.Builder protectedQueries(Collection<ProtectedQuerySummary> protectedQueries) A list of protected queries.
- Parameters:
protectedQueries- A list of protected queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedQueries
A list of protected queries.
- Parameters:
protectedQueries- A list of protected queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedQueries
ListProtectedQueriesResponse.Builder protectedQueries(Consumer<ProtectedQuerySummary.Builder>... protectedQueries) A list of protected queries.
This is a convenience method that creates an instance of theProtectedQuerySummary.Builderavoiding the need to create one manually viaProtectedQuerySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotectedQueries(List<ProtectedQuerySummary>).- Parameters:
protectedQueries- a consumer that will call methods onProtectedQuerySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-