Class CfnClusterPropsMixin.OrchestratorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.OrchestratorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.OrchestratorProperty>
- Enclosing interface:
CfnClusterPropsMixin.OrchestratorProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.OrchestratorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.OrchestratorProperty>
A builder for
CfnClusterPropsMixin.OrchestratorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getEks()eks(IResolvable eks) Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getEks()Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getSlurm()slurm(IResolvable slurm) Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getSlurm()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eks
Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getEks()- Parameters:
eks- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.- Returns:
this
-
eks
@Stability(Stable) public CfnClusterPropsMixin.OrchestratorProperty.Builder eks(CfnClusterPropsMixin.ClusterOrchestratorEksConfigProperty eks) Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getEks()- Parameters:
eks- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.- Returns:
this
-
slurm
@Stability(Stable) public CfnClusterPropsMixin.OrchestratorProperty.Builder slurm(IResolvable slurm) Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getSlurm()- Parameters:
slurm- Specifies parameter(s) related to Slurm as orchestrator.- Returns:
this
-
slurm
@Stability(Stable) public CfnClusterPropsMixin.OrchestratorProperty.Builder slurm(CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty slurm) Sets the value ofCfnClusterPropsMixin.OrchestratorProperty.getSlurm()- Parameters:
slurm- Specifies parameter(s) related to Slurm as orchestrator.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.OrchestratorProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.OrchestratorProperty - Throws:
NullPointerException- if any required attribute was not provided
-