public static interface WorkGroupConfiguration.Builder extends SdkPojo, CopyableBuilder<WorkGroupConfiguration.Builder,WorkGroupConfiguration>
| Modifier and Type | Method and Description |
|---|---|
WorkGroupConfiguration.Builder |
bytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
WorkGroupConfiguration.Builder |
enforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings.
|
default WorkGroupConfiguration.Builder |
engineVersion(Consumer<EngineVersion.Builder> engineVersion)
The engine version that all queries running on the workgroup use.
|
WorkGroupConfiguration.Builder |
engineVersion(EngineVersion engineVersion)
The engine version that all queries running on the workgroup use.
|
WorkGroupConfiguration.Builder |
publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
WorkGroupConfiguration.Builder |
requesterPaysEnabled(Boolean requesterPaysEnabled)
If set to
true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays
buckets in queries. |
default WorkGroupConfiguration.Builder |
resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored
and the encryption option, if any, used for query results.
|
WorkGroupConfiguration.Builder |
resultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored
and the encryption option, if any, used for query results.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkGroupConfiguration.Builder resultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query 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 Query Results.
resultConfiguration - The configuration for the workgroup, which includes the location in Amazon S3 where query results are
stored and the encryption option, if any, used for query 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 Query Results.default WorkGroupConfiguration.Builder resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query 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 Query Results.
This is a convenience method that creates an instance of theResultConfiguration.Builder avoiding the
need to create one manually via ResultConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resultConfiguration(ResultConfiguration).
resultConfiguration - a consumer that will call methods on ResultConfiguration.BuilderresultConfiguration(ResultConfiguration)WorkGroupConfiguration.Builder enforceWorkGroupConfiguration(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.
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.WorkGroupConfiguration.Builder publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
publishCloudWatchMetricsEnabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.WorkGroupConfiguration.Builder bytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
bytesScannedCutoffPerQuery - The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed
to scan.WorkGroupConfiguration.Builder requesterPaysEnabled(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.
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.WorkGroupConfiguration.Builder engineVersion(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.
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.default WorkGroupConfiguration.Builder engineVersion(Consumer<EngineVersion.Builder> 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.
EngineVersion.Builder avoiding the need
to create one manually via EngineVersion.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to engineVersion(EngineVersion).
engineVersion - a consumer that will call methods on EngineVersion.BuilderengineVersion(EngineVersion)Copyright © 2022. All rights reserved.