Class CfnClusterSchedulerConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterSchedulerConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSchedulerConfigMixinProps>
- Enclosing interface:
CfnClusterSchedulerConfigMixinProps
@Stability(Stable)
public static final class CfnClusterSchedulerConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSchedulerConfigMixinProps>
A builder for
CfnClusterSchedulerConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterArn(String clusterArn) Sets the value ofCfnClusterSchedulerConfigMixinProps.getClusterArn()description(String description) Sets the value ofCfnClusterSchedulerConfigMixinProps.getDescription()Sets the value ofCfnClusterSchedulerConfigMixinProps.getName()Sets the value ofCfnClusterSchedulerConfigMixinProps.getSchedulerConfig()schedulerConfig(IResolvable schedulerConfig) Sets the value ofCfnClusterSchedulerConfigMixinProps.getSchedulerConfig()Sets the value ofCfnClusterSchedulerConfigMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofCfnClusterSchedulerConfigMixinProps.getClusterArn()- Parameters:
clusterArn- ARN of the cluster.- Returns:
this
-
description
@Stability(Stable) public CfnClusterSchedulerConfigMixinProps.Builder description(String description) Sets the value ofCfnClusterSchedulerConfigMixinProps.getDescription()- Parameters:
description- Description of the cluster policy.- Returns:
this
-
name
Sets the value ofCfnClusterSchedulerConfigMixinProps.getName()- Parameters:
name- Name for the cluster policy.- Returns:
this
-
schedulerConfig
@Stability(Stable) public CfnClusterSchedulerConfigMixinProps.Builder schedulerConfig(IResolvable schedulerConfig) Sets the value ofCfnClusterSchedulerConfigMixinProps.getSchedulerConfig()- Parameters:
schedulerConfig- Cluster policy configuration.- Returns:
this
-
schedulerConfig
@Stability(Stable) public CfnClusterSchedulerConfigMixinProps.Builder schedulerConfig(CfnClusterSchedulerConfigPropsMixin.SchedulerConfigProperty schedulerConfig) Sets the value ofCfnClusterSchedulerConfigMixinProps.getSchedulerConfig()- Parameters:
schedulerConfig- Cluster policy configuration.- Returns:
this
-
tags
@Stability(Stable) public CfnClusterSchedulerConfigMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnClusterSchedulerConfigMixinProps.getTags()- Parameters:
tags- Tags of the cluster policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSchedulerConfigMixinProps>- Returns:
- a new instance of
CfnClusterSchedulerConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-