Interface ProtectedQueryDistributeOutputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedQueryDistributeOutputConfiguration.Builder,,ProtectedQueryDistributeOutputConfiguration> SdkBuilder<ProtectedQueryDistributeOutputConfiguration.Builder,,ProtectedQueryDistributeOutputConfiguration> SdkPojo
- Enclosing class:
ProtectedQueryDistributeOutputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionA list of locations where you want to distribute the protected query results.A list of locations where you want to distribute the protected query results.locations(ProtectedQueryDistributeOutputConfigurationLocation... locations) A list of locations where you want to distribute the protected query results.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
-
locations
ProtectedQueryDistributeOutputConfiguration.Builder locations(Collection<ProtectedQueryDistributeOutputConfigurationLocation> locations) A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.
You can't specify more than one S3 location.
You can't specify the query runner's account as a member location.
You must include either an S3 or member output configuration for each location, but not both.
- Parameters:
locations- A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.You can't specify more than one S3 location.
You can't specify the query runner's account as a member location.
You must include either an S3 or member output configuration for each location, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
ProtectedQueryDistributeOutputConfiguration.Builder locations(ProtectedQueryDistributeOutputConfigurationLocation... locations) A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.
You can't specify more than one S3 location.
You can't specify the query runner's account as a member location.
You must include either an S3 or member output configuration for each location, but not both.
- Parameters:
locations- A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.You can't specify more than one S3 location.
You can't specify the query runner's account as a member location.
You must include either an S3 or member output configuration for each location, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
ProtectedQueryDistributeOutputConfiguration.Builder locations(Consumer<ProtectedQueryDistributeOutputConfigurationLocation.Builder>... locations) A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.
This is a convenience method that creates an instance of theYou can't specify more than one S3 location.
You can't specify the query runner's account as a member location.
You must include either an S3 or member output configuration for each location, but not both.
ProtectedQueryDistributeOutputConfigurationLocation.Builderavoiding the need to create one manually viaProtectedQueryDistributeOutputConfigurationLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocations(List<ProtectedQueryDistributeOutputConfigurationLocation>).- Parameters:
locations- a consumer that will call methods onProtectedQueryDistributeOutputConfigurationLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-