Class CfnWorkGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupMixinProps>
- Enclosing interface:
CfnWorkGroupMixinProps
@Stability(Stable)
public static final class CfnWorkGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupMixinProps>
A builder for
CfnWorkGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkGroupMixinProps.getDescription()Sets the value ofCfnWorkGroupMixinProps.getName()recursiveDeleteOption(Boolean recursiveDeleteOption) Sets the value ofCfnWorkGroupMixinProps.getRecursiveDeleteOption()recursiveDeleteOption(IResolvable recursiveDeleteOption) Sets the value ofCfnWorkGroupMixinProps.getRecursiveDeleteOption()Sets the value ofCfnWorkGroupMixinProps.getState()Sets the value ofCfnWorkGroupMixinProps.getTags()workGroupConfiguration(CfnWorkGroupPropsMixin.WorkGroupConfigurationProperty workGroupConfiguration) Sets the value ofCfnWorkGroupMixinProps.getWorkGroupConfiguration()workGroupConfiguration(IResolvable workGroupConfiguration) Sets the value ofCfnWorkGroupMixinProps.getWorkGroupConfiguration()workGroupConfigurationUpdates(CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty workGroupConfigurationUpdates) Deprecated.this property has been deprecatedworkGroupConfigurationUpdates(IResolvable workGroupConfigurationUpdates) Deprecated.this property has been deprecated
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWorkGroupMixinProps.getDescription()- Parameters:
description- The workgroup description.- Returns:
this
-
name
Sets the value ofCfnWorkGroupMixinProps.getName()- Parameters:
name- The workgroup name.- Returns:
this
-
recursiveDeleteOption
@Stability(Stable) public CfnWorkGroupMixinProps.Builder recursiveDeleteOption(Boolean recursiveDeleteOption) Sets the value ofCfnWorkGroupMixinProps.getRecursiveDeleteOption()- Parameters:
recursiveDeleteOption- The option to delete a workgroup and its contents even if the workgroup contains any named queries. The default is false.- Returns:
this
-
recursiveDeleteOption
@Stability(Stable) public CfnWorkGroupMixinProps.Builder recursiveDeleteOption(IResolvable recursiveDeleteOption) Sets the value ofCfnWorkGroupMixinProps.getRecursiveDeleteOption()- Parameters:
recursiveDeleteOption- The option to delete a workgroup and its contents even if the workgroup contains any named queries. The default is false.- Returns:
this
-
state
Sets the value ofCfnWorkGroupMixinProps.getState()- Parameters:
state- The state of the workgroup: ENABLED or DISABLED.- Returns:
this
-
tags
Sets the value ofCfnWorkGroupMixinProps.getTags()- Parameters:
tags- The tags (key-value pairs) to associate with this resource.- Returns:
this
-
workGroupConfiguration
@Stability(Stable) public CfnWorkGroupMixinProps.Builder workGroupConfiguration(IResolvable workGroupConfiguration) Sets the value ofCfnWorkGroupMixinProps.getWorkGroupConfiguration()- 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. TheEnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.- Returns:
this
-
workGroupConfiguration
@Stability(Stable) public CfnWorkGroupMixinProps.Builder workGroupConfiguration(CfnWorkGroupPropsMixin.WorkGroupConfigurationProperty workGroupConfiguration) Sets the value ofCfnWorkGroupMixinProps.getWorkGroupConfiguration()- 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. TheEnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.- Returns:
this
-
workGroupConfigurationUpdates
@Stability(Deprecated) @Deprecated public CfnWorkGroupMixinProps.Builder workGroupConfigurationUpdates(IResolvable workGroupConfigurationUpdates) Deprecated.this property has been deprecatedSets the value ofCfnWorkGroupMixinProps.getWorkGroupConfigurationUpdates()- 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.- Returns:
this
-
workGroupConfigurationUpdates
@Stability(Deprecated) @Deprecated public CfnWorkGroupMixinProps.Builder workGroupConfigurationUpdates(CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty workGroupConfigurationUpdates) Deprecated.this property has been deprecatedSets the value ofCfnWorkGroupMixinProps.getWorkGroupConfigurationUpdates()- 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupMixinProps>- Returns:
- a new instance of
CfnWorkGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-