Interface ProtectedQueryOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedQueryOutput.Builder,,ProtectedQueryOutput> SdkBuilder<ProtectedQueryOutput.Builder,,ProtectedQueryOutput> SdkPojo
- Enclosing class:
ProtectedQueryOutput
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProtectedQueryOutput.Builderdistribute(Consumer<ProtectedQueryDistributeOutput.Builder> distribute) Contains output information for protected queries that use adistributeoutput type.distribute(ProtectedQueryDistributeOutput distribute) Contains output information for protected queries that use adistributeoutput 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.BuilderIf present, the output for a protected query with anS3output type.If present, the output for a protected query with anS3output type.Methods 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, sdkFields
-
Method Details
-
s3
If present, the output for a protected query with an
S3output type.- Parameters:
s3- If present, the output for a protected query with anS3output 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 theS3output type.ProtectedQueryS3Output.Builderavoiding the need to create one manually viaProtectedQueryS3Output.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaProtectedQuerySingleMemberOutput.builder().When the
Consumercompletes,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
distributeoutput type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members.You can only use the
distributeoutput type with the Spark analytics engine.- Parameters:
distribute- Contains output information for protected queries that use adistributeoutput type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members.You can only use the
distributeoutput 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
distributeoutput type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members. This is a convenience method that creates an instance of theYou can only use the
distributeoutput type with the Spark analytics engine.ProtectedQueryDistributeOutput.Builderavoiding the need to create one manually viaProtectedQueryDistributeOutput.builder().When the
Consumercompletes,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:
-