Interface WorkGroupConfigurationUpdates.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkGroupConfigurationUpdates.Builder,WorkGroupConfigurationUpdates>
,SdkBuilder<WorkGroupConfigurationUpdates.Builder,WorkGroupConfigurationUpdates>
,SdkPojo
- Enclosing class:
- WorkGroupConfigurationUpdates
public static interface WorkGroupConfigurationUpdates.Builder extends SdkPojo, CopyableBuilder<WorkGroupConfigurationUpdates.Builder,WorkGroupConfigurationUpdates>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkGroupConfigurationUpdates.Builder
additionalConfiguration(String additionalConfiguration)
Contains a user defined string in JSON format for a Spark-enabled workgroup.WorkGroupConfigurationUpdates.Builder
bytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.default WorkGroupConfigurationUpdates.Builder
customerContentEncryptionConfiguration(Consumer<CustomerContentEncryptionConfiguration.Builder> customerContentEncryptionConfiguration)
Sets the value of the CustomerContentEncryptionConfiguration property for this object.WorkGroupConfigurationUpdates.Builder
customerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration customerContentEncryptionConfiguration)
Sets the value of the CustomerContentEncryptionConfiguration property for this object.WorkGroupConfigurationUpdates.Builder
enableMinimumEncryptionConfiguration(Boolean enableMinimumEncryptionConfiguration)
Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to Amazon S3.WorkGroupConfigurationUpdates.Builder
enforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings.default WorkGroupConfigurationUpdates.Builder
engineVersion(Consumer<EngineVersion.Builder> engineVersion)
The engine version requested when a workgroup is updated.WorkGroupConfigurationUpdates.Builder
engineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated.WorkGroupConfigurationUpdates.Builder
executionRole(String executionRole)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.WorkGroupConfigurationUpdates.Builder
publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.default WorkGroupConfigurationUpdates.Builder
queryResultsS3AccessGrantsConfiguration(Consumer<QueryResultsS3AccessGrantsConfiguration.Builder> queryResultsS3AccessGrantsConfiguration)
Specifies whether Amazon S3 access grants are enabled for query results.WorkGroupConfigurationUpdates.Builder
queryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration queryResultsS3AccessGrantsConfiguration)
Specifies whether Amazon S3 access grants are enabled for query results.WorkGroupConfigurationUpdates.Builder
removeBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed.WorkGroupConfigurationUpdates.Builder
removeCustomerContentEncryptionConfiguration(Boolean removeCustomerContentEncryptionConfiguration)
Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.WorkGroupConfigurationUpdates.Builder
requesterPaysEnabled(Boolean requesterPaysEnabled)
If set totrue
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries.default WorkGroupConfigurationUpdates.Builder
resultConfigurationUpdates(Consumer<ResultConfigurationUpdates.Builder> resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated.WorkGroupConfigurationUpdates.Builder
resultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
enforceWorkGroupConfiguration
WorkGroupConfigurationUpdates.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultConfigurationUpdates
WorkGroupConfigurationUpdates.Builder resultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
- Parameters:
resultConfigurationUpdates
- The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultConfigurationUpdates
default WorkGroupConfigurationUpdates.Builder resultConfigurationUpdates(Consumer<ResultConfigurationUpdates.Builder> resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
This is a convenience method that creates an instance of theResultConfigurationUpdates.Builder
avoiding the need to create one manually viaResultConfigurationUpdates.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultConfigurationUpdates(ResultConfigurationUpdates)
.- Parameters:
resultConfigurationUpdates
- a consumer that will call methods onResultConfigurationUpdates.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resultConfigurationUpdates(ResultConfigurationUpdates)
-
publishCloudWatchMetricsEnabled
WorkGroupConfigurationUpdates.Builder publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
- Parameters:
publishCloudWatchMetricsEnabled
- Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesScannedCutoffPerQuery
WorkGroupConfigurationUpdates.Builder bytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
- Parameters:
bytesScannedCutoffPerQuery
- The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeBytesScannedCutoffPerQuery
WorkGroupConfigurationUpdates.Builder removeBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
- Parameters:
removeBytesScannedCutoffPerQuery
- Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterPaysEnabled
WorkGroupConfigurationUpdates.Builder requesterPaysEnabled(Boolean requesterPaysEnabled)
If set to
true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.- Parameters:
requesterPaysEnabled
- If set totrue
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
WorkGroupConfigurationUpdates.Builder engineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.- Parameters:
engineVersion
- The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on theAmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
default WorkGroupConfigurationUpdates.Builder engineVersion(Consumer<EngineVersion.Builder> engineVersion)
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the
This is a convenience method that creates an instance of theAmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.EngineVersion.Builder
avoiding the need to create one manually viaEngineVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toengineVersion(EngineVersion)
.- Parameters:
engineVersion
- a consumer that will call methods onEngineVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
engineVersion(EngineVersion)
-
removeCustomerContentEncryptionConfiguration
WorkGroupConfigurationUpdates.Builder removeCustomerContentEncryptionConfiguration(Boolean removeCustomerContentEncryptionConfiguration)
Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.
- Parameters:
removeCustomerContentEncryptionConfiguration
- Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalConfiguration
WorkGroupConfigurationUpdates.Builder additionalConfiguration(String additionalConfiguration)
Contains a user defined string in JSON format for a Spark-enabled workgroup.
- Parameters:
additionalConfiguration
- Contains a user defined string in JSON format for a Spark-enabled workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRole
WorkGroupConfigurationUpdates.Builder executionRole(String executionRole)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.
- Parameters:
executionRole
- The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerContentEncryptionConfiguration
WorkGroupConfigurationUpdates.Builder customerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration customerContentEncryptionConfiguration)
Sets the value of the CustomerContentEncryptionConfiguration property for this object.- Parameters:
customerContentEncryptionConfiguration
- The new value for the CustomerContentEncryptionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerContentEncryptionConfiguration
default WorkGroupConfigurationUpdates.Builder customerContentEncryptionConfiguration(Consumer<CustomerContentEncryptionConfiguration.Builder> customerContentEncryptionConfiguration)
Sets the value of the CustomerContentEncryptionConfiguration property for this object. This is a convenience method that creates an instance of theCustomerContentEncryptionConfiguration.Builder
avoiding the need to create one manually viaCustomerContentEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration)
.- Parameters:
customerContentEncryptionConfiguration
- a consumer that will call methods onCustomerContentEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration)
-
enableMinimumEncryptionConfiguration
WorkGroupConfigurationUpdates.Builder enableMinimumEncryptionConfiguration(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. This setting does not apply to Spark-enabled workgroups.
The
EnforceWorkGroupConfiguration
setting takes precedence over theEnableMinimumEncryptionConfiguration
flag. This means that ifEnforceWorkGroupConfiguration
is true, theEnableMinimumEncryptionConfiguration
flag is ignored, and the workgroup configuration for encryption is used.- Parameters:
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. This setting does not apply to Spark-enabled workgroups.The
EnforceWorkGroupConfiguration
setting takes precedence over theEnableMinimumEncryptionConfiguration
flag. This means that ifEnforceWorkGroupConfiguration
is true, theEnableMinimumEncryptionConfiguration
flag is ignored, and the workgroup configuration for encryption is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryResultsS3AccessGrantsConfiguration
WorkGroupConfigurationUpdates.Builder queryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration queryResultsS3AccessGrantsConfiguration)
Specifies whether Amazon S3 access grants are enabled for query results.
- Parameters:
queryResultsS3AccessGrantsConfiguration
- Specifies whether Amazon S3 access grants are enabled for query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryResultsS3AccessGrantsConfiguration
default WorkGroupConfigurationUpdates.Builder queryResultsS3AccessGrantsConfiguration(Consumer<QueryResultsS3AccessGrantsConfiguration.Builder> queryResultsS3AccessGrantsConfiguration)
Specifies whether Amazon S3 access grants are enabled for query results.
This is a convenience method that creates an instance of theQueryResultsS3AccessGrantsConfiguration.Builder
avoiding the need to create one manually viaQueryResultsS3AccessGrantsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration)
.- Parameters:
queryResultsS3AccessGrantsConfiguration
- a consumer that will call methods onQueryResultsS3AccessGrantsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration)
-
-