public static interface ResultConfiguration.Builder extends SdkPojo, CopyableBuilder<ResultConfiguration.Builder,ResultConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default ResultConfiguration.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS) and key information. |
ResultConfiguration.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS) and key information. |
ResultConfiguration.Builder |
outputLocation(String outputLocation)
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResultConfiguration.Builder outputLocation(String outputLocation)
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/. To run the query, you must specify the query results location using
one of the ways: either for individual queries using either this setting (client-side), or in the workgroup,
using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location
is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
outputLocation - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/. To run the query, you must specify the query results location
using one of the ways: either for individual queries using either this setting (client-side), or in
the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error
that no output location is provided. For more information, see Query Results. If workgroup
settings override client-side settings, then the query uses the settings specified for the workgroup.
See WorkGroupConfiguration$EnforceWorkGroupConfiguration.ResultConfiguration.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration that is
specified for the workgroup, and also uses the location for storing query results specified in the workgroup.
See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings
Override Client-Side Settings.
encryptionConfiguration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration
that is specified for the workgroup, and also uses the location for storing query results specified in
the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup
Settings Override Client-Side Settings.default ResultConfiguration.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration that is
specified for the workgroup, and also uses the location for storing query results specified in the workgroup.
See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings
Override Client-Side Settings.
EncryptionConfiguration.Builder avoiding the
need to create one manually via EncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration).encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.BuilderencryptionConfiguration(EncryptionConfiguration)Copyright © 2021. All rights reserved.