Class CfnSessionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnSessionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionMixinProps>
- Enclosing interface:
CfnSessionMixinProps
@Stability(Stable)
public static final class CfnSessionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionMixinProps>
A builder for
CfnSessionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.engineConfiguration(CfnSessionPropsMixin.EngineConfigurationProperty engineConfiguration) Sets the value ofCfnSessionMixinProps.getEngineConfiguration()engineConfiguration(IResolvable engineConfiguration) Sets the value ofCfnSessionMixinProps.getEngineConfiguration()executionRole(String executionRole) Sets the value ofCfnSessionMixinProps.getExecutionRole()Sets the value ofCfnSessionMixinProps.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engineConfiguration
@Stability(Stable) public CfnSessionMixinProps.Builder engineConfiguration(IResolvable engineConfiguration) Sets the value ofCfnSessionMixinProps.getEngineConfiguration()- Parameters:
engineConfiguration- Contains engine data processing unit (DPU) configuration settings.- Returns:
this
-
engineConfiguration
@Stability(Stable) public CfnSessionMixinProps.Builder engineConfiguration(CfnSessionPropsMixin.EngineConfigurationProperty engineConfiguration) Sets the value ofCfnSessionMixinProps.getEngineConfiguration()- Parameters:
engineConfiguration- Contains engine data processing unit (DPU) configuration settings.- Returns:
this
-
executionRole
Sets the value ofCfnSessionMixinProps.getExecutionRole()- Parameters:
executionRole- The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.- Returns:
this
-
workGroup
Sets the value ofCfnSessionMixinProps.getWorkGroup()- Parameters:
workGroup- The workgroup to which the session belongs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionMixinProps>- Returns:
- a new instance of
CfnSessionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-