Interface ProtectedQueryOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedQueryOutput.Builder,
,ProtectedQueryOutput> SdkBuilder<ProtectedQueryOutput.Builder,
,ProtectedQueryOutput> SdkPojo
- Enclosing class:
ProtectedQueryOutput
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProtectedQueryOutput.Builder
distribute
(Consumer<ProtectedQueryDistributeOutput.Builder> distribute) Contains output information for protected queries that use adistribute
output type.distribute
(ProtectedQueryDistributeOutput distribute) Contains output information for protected queries that use adistribute
output type.memberList
(Collection<ProtectedQuerySingleMemberOutput> memberList) The list of member Amazon Web Services account(s) that received the results of the query.memberList
(Consumer<ProtectedQuerySingleMemberOutput.Builder>... memberList) The list of member Amazon Web Services account(s) that received the results of the query.memberList
(ProtectedQuerySingleMemberOutput... memberList) The list of member Amazon Web Services account(s) that received the results of the query.default ProtectedQueryOutput.Builder
If present, the output for a protected query with anS3
output type.If present, the output for a protected query with anS3
output type.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
-
Method Details
-
s3
If present, the output for a protected query with an
S3
output type.- Parameters:
s3
- If present, the output for a protected query with anS3
output type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
If present, the output for a protected query with an
This is a convenience method that creates an instance of theS3
output type.ProtectedQueryS3Output.Builder
avoiding the need to create one manually viaProtectedQueryS3Output.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(ProtectedQueryS3Output)
.- Parameters:
s3
- a consumer that will call methods onProtectedQueryS3Output.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberList
The list of member Amazon Web Services account(s) that received the results of the query.
- Parameters:
memberList
- The list of member Amazon Web Services account(s) that received the results of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberList
The list of member Amazon Web Services account(s) that received the results of the query.
- Parameters:
memberList
- The list of member Amazon Web Services account(s) that received the results of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberList
ProtectedQueryOutput.Builder memberList(Consumer<ProtectedQuerySingleMemberOutput.Builder>... memberList) The list of member Amazon Web Services account(s) that received the results of the query.
This is a convenience method that creates an instance of theProtectedQuerySingleMemberOutput.Builder
avoiding the need to create one manually viaProtectedQuerySingleMemberOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberList(List<ProtectedQuerySingleMemberOutput>)
.- Parameters:
memberList
- a consumer that will call methods onProtectedQuerySingleMemberOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distribute
Contains output information for protected queries that use a
distribute
output type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members.You can only use the
distribute
output type with the Spark analytics engine.- Parameters:
distribute
- Contains output information for protected queries that use adistribute
output type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members.You can only use the
distribute
output type with the Spark analytics engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distribute
default ProtectedQueryOutput.Builder distribute(Consumer<ProtectedQueryDistributeOutput.Builder> distribute) Contains output information for protected queries that use a
distribute
output type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members.You can only use the
distribute
output type with the Spark analytics engine.ProtectedQueryDistributeOutput.Builder
avoiding the need to create one manually viaProtectedQueryDistributeOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todistribute(ProtectedQueryDistributeOutput)
.- Parameters:
distribute
- a consumer that will call methods onProtectedQueryDistributeOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-