Class CfnUserProfilePropsMixin.EmrSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnUserProfilePropsMixin.EmrSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfilePropsMixin.EmrSettingsProperty>
- Enclosing interface:
CfnUserProfilePropsMixin.EmrSettingsProperty
@Stability(Stable)
public static final class CfnUserProfilePropsMixin.EmrSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfilePropsMixin.EmrSettingsProperty>
A builder for
CfnUserProfilePropsMixin.EmrSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassumableRoleArns(List<String> assumableRoleArns) Sets the value ofCfnUserProfilePropsMixin.EmrSettingsProperty.getAssumableRoleArns()build()Builds the configured instance.executionRoleArns(List<String> executionRoleArns) Sets the value ofCfnUserProfilePropsMixin.EmrSettingsProperty.getExecutionRoleArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assumableRoleArns
@Stability(Stable) public CfnUserProfilePropsMixin.EmrSettingsProperty.Builder assumableRoleArns(List<String> assumableRoleArns) Sets the value ofCfnUserProfilePropsMixin.EmrSettingsProperty.getAssumableRoleArns()- Parameters:
assumableRoleArns- An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume.- Returns:
this
-
executionRoleArns
@Stability(Stable) public CfnUserProfilePropsMixin.EmrSettingsProperty.Builder executionRoleArns(List<String> executionRoleArns) Sets the value ofCfnUserProfilePropsMixin.EmrSettingsProperty.getExecutionRoleArns()- Parameters:
executionRoleArns- An array of ARNs of IAM roles used by EMR cluster instances or job execution environments.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfilePropsMixin.EmrSettingsProperty>- Returns:
- a new instance of
CfnUserProfilePropsMixin.EmrSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-