Class CfnWorkGroupPropsMixin.EngineVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.EngineVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.EngineVersionProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.EngineVersionProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.EngineVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.EngineVersionProperty>
A builder for
CfnWorkGroupPropsMixin.EngineVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.effectiveEngineVersion(String effectiveEngineVersion) Sets the value ofCfnWorkGroupPropsMixin.EngineVersionProperty.getEffectiveEngineVersion()selectedEngineVersion(String selectedEngineVersion) Sets the value ofCfnWorkGroupPropsMixin.EngineVersionProperty.getSelectedEngineVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
effectiveEngineVersion
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineVersionProperty.Builder effectiveEngineVersion(String effectiveEngineVersion) Sets the value ofCfnWorkGroupPropsMixin.EngineVersionProperty.getEffectiveEngineVersion()- Parameters:
effectiveEngineVersion- Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by aCreateWorkGrouporUpdateWorkGroupoperation, theEffectiveEngineVersionfield is ignored.- Returns:
this
-
selectedEngineVersion
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineVersionProperty.Builder selectedEngineVersion(String selectedEngineVersion) Sets the value ofCfnWorkGroupPropsMixin.EngineVersionProperty.getSelectedEngineVersion()- Parameters:
selectedEngineVersion- The engine version requested by the user. Possible values are determined by the output ofListEngineVersions, including AUTO. The default is AUTO.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.EngineVersionProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.EngineVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-