Class CfnSessionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSessionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionPropsMixin>
- Enclosing class:
CfnSessionPropsMixin
@Stability(Stable)
public static final class CfnSessionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionPropsMixin>
A fluent builder for
CfnSessionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The SessionCommand that runs the job.command(IResolvable command) The SessionCommand that runs the job.connections(CfnSessionPropsMixin.ConnectionsListProperty connections) Specifies the connections used by the session.connections(IResolvable connections) Specifies the connections used by the session.static CfnSessionPropsMixin.Buildercreate()static CfnSessionPropsMixin.Buildercreate(CfnPropertyMixinOptions options) defaultArguments(Map<String, String> defaultArguments) A map array of key-value pairs.defaultArguments(IResolvable defaultArguments) A map array of key-value pairs.description(String description) The description of the session.glueVersion(String glueVersion) The Glue version determines the versions of Apache Spark and Python that Glue supports.The ID of the session.idleTimeout(Number idleTimeout) The number of minutes when idle before session times out.maxCapacity(Number maxCapacity) The number of Glue data processing units (DPUs) that can be allocated when the job runs.numberOfWorkers(Number numberOfWorkers) The number of workers of a defined WorkerType to use for the session.requestOrigin(String requestOrigin) The origin of the request.The IAM Role ARN.securityConfiguration(String securityConfiguration) The name of the SecurityConfiguration structure to be used with the session.The tags belonging to the session.The number of minutes before session times out.workerType(String workerType) The type of predefined worker that is allocated when a session runs.
-
Method Details
-
create
@Stability(Stable) public static CfnSessionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSessionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSessionPropsMixin.Builder.
-
command
The SessionCommand that runs the job.- Parameters:
command- The SessionCommand that runs the job. This parameter is required.- Returns:
this- See Also:
-
command
@Stability(Stable) public CfnSessionPropsMixin.Builder command(CfnSessionPropsMixin.SessionCommandProperty command) The SessionCommand that runs the job.- Parameters:
command- The SessionCommand that runs the job. This parameter is required.- Returns:
this- See Also:
-
connections
Specifies the connections used by the session.- Parameters:
connections- Specifies the connections used by the session. This parameter is required.- Returns:
this- See Also:
-
connections
@Stability(Stable) public CfnSessionPropsMixin.Builder connections(CfnSessionPropsMixin.ConnectionsListProperty connections) Specifies the connections used by the session.- Parameters:
connections- Specifies the connections used by the session. This parameter is required.- Returns:
this- See Also:
-
defaultArguments
@Stability(Stable) public CfnSessionPropsMixin.Builder defaultArguments(IResolvable defaultArguments) A map array of key-value pairs.Max is 75 pairs.
- Parameters:
defaultArguments- A map array of key-value pairs. This parameter is required.- Returns:
this- See Also:
-
defaultArguments
@Stability(Stable) public CfnSessionPropsMixin.Builder defaultArguments(Map<String, String> defaultArguments) A map array of key-value pairs.Max is 75 pairs.
- Parameters:
defaultArguments- A map array of key-value pairs. This parameter is required.- Returns:
this- See Also:
-
description
The description of the session.- Parameters:
description- The description of the session. This parameter is required.- Returns:
this- See Also:
-
glueVersion
The Glue version determines the versions of Apache Spark and Python that Glue supports.The GlueVersion must be greater than 2.0.
- Parameters:
glueVersion- The Glue version determines the versions of Apache Spark and Python that Glue supports. This parameter is required.- Returns:
this- See Also:
-
id
The ID of the session.- Parameters:
id- The ID of the session. This parameter is required.- Returns:
this- See Also:
-
idleTimeout
The number of minutes when idle before session times out.Default is the value of Timeout.
- Parameters:
idleTimeout- The number of minutes when idle before session times out. This parameter is required.- Returns:
this- See Also:
-
maxCapacity
The number of Glue data processing units (DPUs) that can be allocated when the job runs.- Parameters:
maxCapacity- The number of Glue data processing units (DPUs) that can be allocated when the job runs. This parameter is required.- Returns:
this- See Also:
-
numberOfWorkers
The number of workers of a defined WorkerType to use for the session.- Parameters:
numberOfWorkers- The number of workers of a defined WorkerType to use for the session. This parameter is required.- Returns:
this- See Also:
-
requestOrigin
The origin of the request.- Parameters:
requestOrigin- The origin of the request. This parameter is required.- Returns:
this- See Also:
-
role
The IAM Role ARN.- Parameters:
role- The IAM Role ARN. This parameter is required.- Returns:
this- See Also:
-
securityConfiguration
@Stability(Stable) public CfnSessionPropsMixin.Builder securityConfiguration(String securityConfiguration) The name of the SecurityConfiguration structure to be used with the session.- Parameters:
securityConfiguration- The name of the SecurityConfiguration structure to be used with the session. This parameter is required.- Returns:
this- See Also:
-
tags
The tags belonging to the session.- Parameters:
tags- The tags belonging to the session. This parameter is required.- Returns:
this- See Also:
-
timeout
The number of minutes before session times out.- Parameters:
timeout- The number of minutes before session times out. This parameter is required.- Returns:
this- See Also:
-
workerType
The type of predefined worker that is allocated when a session runs.- Parameters:
workerType- The type of predefined worker that is allocated when a session runs. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionPropsMixin>- Returns:
- a newly built instance of
CfnSessionPropsMixin.
-