Class CfnWorkGroup.EngineVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnWorkGroup.EngineVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroup.EngineVersionProperty>
- Enclosing interface:
CfnWorkGroup.EngineVersionProperty
@Stability(Stable)
public static final class CfnWorkGroup.EngineVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroup.EngineVersionProperty>
A builder for
CfnWorkGroup.EngineVersionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.effectiveEngineVersion
(String effectiveEngineVersion) Sets the value ofCfnWorkGroup.EngineVersionProperty.getEffectiveEngineVersion()
selectedEngineVersion
(String selectedEngineVersion) Sets the value ofCfnWorkGroup.EngineVersionProperty.getSelectedEngineVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
effectiveEngineVersion
@Stability(Stable) public CfnWorkGroup.EngineVersionProperty.Builder effectiveEngineVersion(String effectiveEngineVersion) Sets the value ofCfnWorkGroup.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 aCreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored.- Returns:
this
-
selectedEngineVersion
@Stability(Stable) public CfnWorkGroup.EngineVersionProperty.Builder selectedEngineVersion(String selectedEngineVersion) Sets the value ofCfnWorkGroup.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkGroup.EngineVersionProperty>
- Returns:
- a new instance of
CfnWorkGroup.EngineVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-