Interface ListProtectedQueriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsResponse.Builder
,CopyableBuilder<ListProtectedQueriesResponse.Builder,
,ListProtectedQueriesResponse> SdkBuilder<ListProtectedQueriesResponse.Builder,
,ListProtectedQueriesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProtectedQueriesResponse
@Mutable
@NotThreadSafe
public static interface ListProtectedQueriesResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedQueriesResponse.Builder,ListProtectedQueriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that's used to fetch the next set 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, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set 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.Builder
avoiding the need to create one manually viaProtectedQuerySummary.builder()
.When the
Consumer
completes,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:
-