@Generated(value="software.amazon.awssdk:codegen") public final class ResultConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResultConfiguration.Builder,ResultConfiguration>
The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResultConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
AclConfiguration |
aclConfiguration()
Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results.
|
static ResultConfiguration.Builder |
builder() |
EncryptionConfiguration |
encryptionConfiguration()
If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS or CSE_KMS) and key information. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expectedBucketOwner()
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration$OutputLocation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
outputLocation()
The location in Amazon S3 where your query and calculation results are stored, such as
s3://path/to/query/bucket/. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResultConfiguration.Builder> |
serializableBuilderClass() |
ResultConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String outputLocation()
The location in Amazon S3 where your query and calculation 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 Working
with query results, recent queries, and output files. If workgroup settings override client-side settings,
then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
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 Working with query results, recent
queries, and output files. If workgroup settings override client-side settings, then the query uses
the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.public final EncryptionConfiguration encryptionConfiguration()
If query and calculation 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.
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.public final String expectedBucketOwner()
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon
Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a
permissions error.
This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner setting 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.
ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the
ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the
Amazon S3 bucket, the call fails with a permissions error.
This is a client-side setting. If workgroup settings override client-side settings, then the query uses
the ExpectedBucketOwner setting 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.
public final AclConfiguration aclConfiguration()
Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the
only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. This is a client-side setting. If workgroup
settings override client-side settings, then the query uses the ACL configuration that is specified for the
workgroup, and also uses the location for storing query results specified in the workgroup. For more information,
see WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override
Client-Side Settings.
BUCKET_OWNER_FULL_CONTROL. This is a client-side
setting. If workgroup settings override client-side settings, then the query uses the ACL configuration
that is specified for the workgroup, and also uses the location for storing query results specified in
the workgroup. For more information, see WorkGroupConfiguration$EnforceWorkGroupConfiguration and
Workgroup
Settings Override Client-Side Settings.public ResultConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResultConfiguration.Builder,ResultConfiguration>public static ResultConfiguration.Builder builder()
public static Class<? extends ResultConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.