Class CfnSessionPropsMixin.SessionCommandProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSessionPropsMixin.SessionCommandProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionPropsMixin.SessionCommandProperty>
- Enclosing interface:
CfnSessionPropsMixin.SessionCommandProperty
@Stability(Stable)
public static final class CfnSessionPropsMixin.SessionCommandProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionPropsMixin.SessionCommandProperty>
A builder for
CfnSessionPropsMixin.SessionCommandProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSessionPropsMixin.SessionCommandProperty.getName()pythonVersion(String pythonVersion) Sets the value ofCfnSessionPropsMixin.SessionCommandProperty.getPythonVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSessionPropsMixin.SessionCommandProperty.getName()- Parameters:
name- Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.- Returns:
this
-
pythonVersion
@Stability(Stable) public CfnSessionPropsMixin.SessionCommandProperty.Builder pythonVersion(String pythonVersion) Sets the value ofCfnSessionPropsMixin.SessionCommandProperty.getPythonVersion()- Parameters:
pythonVersion- Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionPropsMixin.SessionCommandProperty>- Returns:
- a new instance of
CfnSessionPropsMixin.SessionCommandProperty - Throws:
NullPointerException- if any required attribute was not provided
-