@Generated(value="software.amazon.awssdk:codegen") public final class WorkGroupConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkGroupConfiguration.Builder,WorkGroupConfiguration>
The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are
stored, the encryption option, if any, used for query and calculation results, whether the Amazon CloudWatch Metrics
are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for
the amount of data scanned per query or per workgroup. The workgroup settings override is specified in
EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkGroupConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
additionalConfiguration()
Specifies a user defined JSON string that is passed to the notebook engine.
|
static WorkGroupConfiguration.Builder |
builder() |
Long |
bytesScannedCutoffPerQuery()
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
CustomerContentEncryptionConfiguration |
customerContentEncryptionConfiguration()
Specifies the KMS key that is used to encrypt the user's data stores in Athena.
|
Boolean |
enableMinimumEncryptionConfiguration()
Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to
Amazon S3.
|
Boolean |
enforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings.
|
EngineVersion |
engineVersion()
The engine version that all queries running on the workgroup use.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRole()
Role used in a session for accessing the user's resources.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
publishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
Boolean |
requesterPaysEnabled()
If set to
true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets
in queries. |
ResultConfiguration |
resultConfiguration()
The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results
are stored and the encryption option, if any, used for query and calculation results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkGroupConfiguration.Builder> |
serializableBuilderClass() |
WorkGroupConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResultConfiguration resultConfiguration()
The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. 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.
public final Boolean enforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
public final Boolean publishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
public final Long bytesScannedCutoffPerQuery()
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
public final Boolean requesterPaysEnabled()
If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets
in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and
queries that retrieve data from Requester Pays buckets cause an error. The default is false. For
more information about Requester Pays buckets, see Requester Pays Buckets in
the Amazon Simple Storage Service Developer Guide.
true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays
buckets in queries. If set to false, workgroup members cannot query data from Requester Pays
buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is
false. For more information about Requester Pays buckets, see Requester Pays
Buckets in the Amazon Simple Storage Service Developer Guide.public final EngineVersion engineVersion()
The engine version that all queries running on the workgroup use. Queries on the
AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.
AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this
setting.public final String additionalConfiguration()
Specifies a user defined JSON string that is passed to the notebook engine.
public final String executionRole()
Role used in a session for accessing the user's resources.
public final CustomerContentEncryptionConfiguration customerContentEncryptionConfiguration()
Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
public final Boolean enableMinimumEncryptionConfiguration()
Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to Amazon S3. When enabled, workgroup users can set encryption only to the minimum level set by the administrator or higher when they submit queries.
The EnforceWorkGroupConfiguration setting takes precedence over the
EnableMinimumEncryptionConfiguration flag. This means that if
EnforceWorkGroupConfiguration is true, the EnableMinimumEncryptionConfiguration flag is
ignored, and the workgroup configuration for encryption is used.
The EnforceWorkGroupConfiguration setting takes precedence over the
EnableMinimumEncryptionConfiguration flag. This means that if
EnforceWorkGroupConfiguration is true, the EnableMinimumEncryptionConfiguration
flag is ignored, and the workgroup configuration for encryption is used.
public WorkGroupConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkGroupConfiguration.Builder,WorkGroupConfiguration>public static WorkGroupConfiguration.Builder builder()
public static Class<? extends WorkGroupConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.