Class CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalConfiguration(String additionalConfiguration) build()Builds the configured instance.bytesScannedCutoffPerQuery(Number bytesScannedCutoffPerQuery) customerContentEncryptionConfiguration(CfnWorkGroupPropsMixin.CustomerContentEncryptionConfigurationProperty customerContentEncryptionConfiguration) customerContentEncryptionConfiguration(IResolvable customerContentEncryptionConfiguration) enforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration) enforceWorkGroupConfiguration(IResolvable enforceWorkGroupConfiguration) engineConfiguration(CfnWorkGroupPropsMixin.EngineConfigurationProperty engineConfiguration) engineConfiguration(IResolvable engineConfiguration) engineVersion(CfnWorkGroupPropsMixin.EngineVersionProperty engineVersion) engineVersion(IResolvable engineVersion) executionRole(String executionRole) executionRole(IRoleRef executionRole) managedQueryResultsConfiguration(CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty managedQueryResultsConfiguration) managedQueryResultsConfiguration(IResolvable managedQueryResultsConfiguration) monitoringConfiguration(CfnWorkGroupPropsMixin.MonitoringConfigurationProperty monitoringConfiguration) monitoringConfiguration(IResolvable monitoringConfiguration) publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled) publishCloudWatchMetricsEnabled(IResolvable publishCloudWatchMetricsEnabled) removeBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery) removeBytesScannedCutoffPerQuery(IResolvable removeBytesScannedCutoffPerQuery) removeCustomerContentEncryptionConfiguration(Boolean removeCustomerContentEncryptionConfiguration) removeCustomerContentEncryptionConfiguration(IResolvable removeCustomerContentEncryptionConfiguration) requesterPaysEnabled(Boolean requesterPaysEnabled) requesterPaysEnabled(IResolvable requesterPaysEnabled) resultConfigurationUpdates(CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty resultConfigurationUpdates) resultConfigurationUpdates(IResolvable resultConfigurationUpdates)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder additionalConfiguration(String additionalConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getAdditionalConfiguration()- Parameters:
additionalConfiguration- Additional Configuration that are passed to Athena Spark Calculations running in this workgroup.- Returns:
this
-
bytesScannedCutoffPerQuery
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder bytesScannedCutoffPerQuery(Number bytesScannedCutoffPerQuery) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getBytesScannedCutoffPerQuery()- Parameters:
bytesScannedCutoffPerQuery- The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.- Returns:
this
-
customerContentEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder customerContentEncryptionConfiguration(IResolvable customerContentEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getCustomerContentEncryptionConfiguration()- Parameters:
customerContentEncryptionConfiguration- Indicates the KMS key for encrypting notebook content.- Returns:
this
-
customerContentEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder customerContentEncryptionConfiguration(CfnWorkGroupPropsMixin.CustomerContentEncryptionConfigurationProperty customerContentEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getCustomerContentEncryptionConfiguration()- Parameters:
customerContentEncryptionConfiguration- Indicates the KMS key for encrypting notebook content.- Returns:
this
-
enforceWorkGroupConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder enforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getEnforceWorkGroupConfiguration()- Parameters:
enforceWorkGroupConfiguration- If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used- Returns:
this
-
enforceWorkGroupConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder enforceWorkGroupConfiguration(IResolvable enforceWorkGroupConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getEnforceWorkGroupConfiguration()- Parameters:
enforceWorkGroupConfiguration- If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used- Returns:
this
-
engineConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder engineConfiguration(IResolvable engineConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getEngineConfiguration()- Parameters:
engineConfiguration- The engine configuration for running queries.- Returns:
this
-
engineConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder engineConfiguration(CfnWorkGroupPropsMixin.EngineConfigurationProperty engineConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getEngineConfiguration()- Parameters:
engineConfiguration- The engine configuration for running queries.- Returns:
this
-
engineVersion
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder engineVersion(IResolvable engineVersion) - Parameters:
engineVersion- The Athena engine version for running queries.- Returns:
this
-
engineVersion
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder engineVersion(CfnWorkGroupPropsMixin.EngineVersionProperty engineVersion) - Parameters:
engineVersion- The Athena engine version for running queries.- Returns:
this
-
executionRole
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder executionRole(String executionRole) - 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:
this
-
executionRole
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder executionRole(IRoleRef executionRole) - 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:
this
-
managedQueryResultsConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder managedQueryResultsConfiguration(IResolvable managedQueryResultsConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getManagedQueryResultsConfiguration()- Parameters:
managedQueryResultsConfiguration- The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time- Returns:
this
-
managedQueryResultsConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder managedQueryResultsConfiguration(CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty managedQueryResultsConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getManagedQueryResultsConfiguration()- Parameters:
managedQueryResultsConfiguration- The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time- Returns:
this
-
monitoringConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder monitoringConfiguration(IResolvable monitoringConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getMonitoringConfiguration()- Parameters:
monitoringConfiguration- Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.- Returns:
this
-
monitoringConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder monitoringConfiguration(CfnWorkGroupPropsMixin.MonitoringConfigurationProperty monitoringConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getMonitoringConfiguration()- Parameters:
monitoringConfiguration- Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.- Returns:
this
-
publishCloudWatchMetricsEnabled
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder publishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getPublishCloudWatchMetricsEnabled()- Parameters:
publishCloudWatchMetricsEnabled- Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.- Returns:
this
-
publishCloudWatchMetricsEnabled
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder publishCloudWatchMetricsEnabled(IResolvable publishCloudWatchMetricsEnabled) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getPublishCloudWatchMetricsEnabled()- Parameters:
publishCloudWatchMetricsEnabled- Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.- Returns:
this
-
removeBytesScannedCutoffPerQuery
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder removeBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRemoveBytesScannedCutoffPerQuery()- Parameters:
removeBytesScannedCutoffPerQuery- Indicates that the data usage control limit per query is removed.- Returns:
this
-
removeBytesScannedCutoffPerQuery
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder removeBytesScannedCutoffPerQuery(IResolvable removeBytesScannedCutoffPerQuery) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRemoveBytesScannedCutoffPerQuery()- Parameters:
removeBytesScannedCutoffPerQuery- Indicates that the data usage control limit per query is removed.- Returns:
this
-
removeCustomerContentEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder removeCustomerContentEncryptionConfiguration(Boolean removeCustomerContentEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRemoveCustomerContentEncryptionConfiguration()- Parameters:
removeCustomerContentEncryptionConfiguration- the value to be set.- Returns:
this
-
removeCustomerContentEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder removeCustomerContentEncryptionConfiguration(IResolvable removeCustomerContentEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRemoveCustomerContentEncryptionConfiguration()- Parameters:
removeCustomerContentEncryptionConfiguration- the value to be set.- Returns:
this
-
requesterPaysEnabled
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder requesterPaysEnabled(Boolean requesterPaysEnabled) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRequesterPaysEnabled()- Parameters:
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.- Returns:
this
-
requesterPaysEnabled
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder requesterPaysEnabled(IResolvable requesterPaysEnabled) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getRequesterPaysEnabled()- Parameters:
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.- Returns:
this
-
resultConfigurationUpdates
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder resultConfigurationUpdates(IResolvable resultConfigurationUpdates) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getResultConfigurationUpdates()- 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:
this
-
resultConfigurationUpdates
@Stability(Stable) public CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.Builder resultConfigurationUpdates(CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty resultConfigurationUpdates) Sets the value ofCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty.getResultConfigurationUpdates()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty - Throws:
NullPointerException- if any required attribute was not provided
-