Class CfnWorkGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin>
- Enclosing class:
CfnWorkGroupPropsMixin
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin>
A fluent builder for
CfnWorkGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The workgroup description.The workgroup name.recursiveDeleteOption(Boolean recursiveDeleteOption) The option to delete a workgroup and its contents even if the workgroup contains any named queries.recursiveDeleteOption(IResolvable recursiveDeleteOption) The option to delete a workgroup and its contents even if the workgroup contains any named queries.The state of the workgroup: ENABLED or DISABLED.The tags (key-value pairs) to associate with this resource.workGroupConfiguration(CfnWorkGroupPropsMixin.WorkGroupConfigurationProperty workGroupConfiguration) The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.workGroupConfiguration(IResolvable workGroupConfiguration) The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.workGroupConfigurationUpdates(CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty workGroupConfigurationUpdates) Deprecated.this property has been deprecatedworkGroupConfigurationUpdates(IResolvable workGroupConfigurationUpdates) Deprecated.this property has been deprecated
-
Method Details
-
create
@Stability(Stable) public static CfnWorkGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWorkGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWorkGroupPropsMixin.Builder.
-
description
The workgroup description.- Parameters:
description- The workgroup description. This parameter is required.- Returns:
this- See Also:
-
name
The workgroup name.- Parameters:
name- The workgroup name. This parameter is required.- Returns:
this- See Also:
-
recursiveDeleteOption
@Stability(Stable) public CfnWorkGroupPropsMixin.Builder recursiveDeleteOption(Boolean recursiveDeleteOption) The option to delete a workgroup and its contents even if the workgroup contains any named queries.The default is false.
- Parameters:
recursiveDeleteOption- The option to delete a workgroup and its contents even if the workgroup contains any named queries. This parameter is required.- Returns:
this- See Also:
-
recursiveDeleteOption
@Stability(Stable) public CfnWorkGroupPropsMixin.Builder recursiveDeleteOption(IResolvable recursiveDeleteOption) The option to delete a workgroup and its contents even if the workgroup contains any named queries.The default is false.
- Parameters:
recursiveDeleteOption- The option to delete a workgroup and its contents even if the workgroup contains any named queries. This parameter is required.- Returns:
this- See Also:
-
state
The state of the workgroup: ENABLED or DISABLED.- Parameters:
state- The state of the workgroup: ENABLED or DISABLED. This parameter is required.- Returns:
this- See Also:
-
tags
The tags (key-value pairs) to associate with this resource.- Parameters:
tags- The tags (key-value pairs) to associate with this resource. This parameter is required.- Returns:
this- See Also:
-
workGroupConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.Builder workGroupConfiguration(IResolvable workGroupConfiguration) The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.The
EnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.- Parameters:
workGroupConfiguration- The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified. This parameter is required.- Returns:
this- See Also:
-
workGroupConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.Builder workGroupConfiguration(CfnWorkGroupPropsMixin.WorkGroupConfigurationProperty workGroupConfiguration) The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.The
EnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.- Parameters:
workGroupConfiguration- The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified. This parameter is required.- Returns:
this- See Also:
-
workGroupConfigurationUpdates
@Stability(Deprecated) @Deprecated public CfnWorkGroupPropsMixin.Builder workGroupConfigurationUpdates(IResolvable workGroupConfigurationUpdates) Deprecated.this property has been deprecated(deprecated) The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.- Parameters:
workGroupConfigurationUpdates- The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified. This parameter is required.- Returns:
this- See Also:
-
workGroupConfigurationUpdates
@Stability(Deprecated) @Deprecated public CfnWorkGroupPropsMixin.Builder workGroupConfigurationUpdates(CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty workGroupConfigurationUpdates) Deprecated.this property has been deprecated(deprecated) The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.- Parameters:
workGroupConfigurationUpdates- The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin>- Returns:
- a newly built instance of
CfnWorkGroupPropsMixin.
-