@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 results are stored and the encryption option, if any, used for query 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 |
---|---|
static ResultConfiguration.Builder |
builder() |
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. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
outputLocation()
The location in Amazon S3 where your query 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, wait
copy
public final 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.
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.public final 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.
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 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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.