Class CfnClusterSchedulerConfig.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnClusterSchedulerConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSchedulerConfig>
- Enclosing class:
CfnClusterSchedulerConfig
@Stability(Stable)
public static final class CfnClusterSchedulerConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSchedulerConfig>
A fluent builder for
CfnClusterSchedulerConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterArn(String clusterArn) ARN of the cluster.description(String description) Description of the cluster policy.Name for the cluster policy.schedulerConfig(IResolvable schedulerConfig) Cluster policy configuration.schedulerConfig(CfnClusterSchedulerConfig.SchedulerConfigProperty schedulerConfig) Cluster policy configuration.Tags of the cluster policy.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterSchedulerConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnClusterSchedulerConfig.Builder.
-
clusterArn
ARN of the cluster.- Parameters:
clusterArn- ARN of the cluster. This parameter is required.- Returns:
this- See Also:
-
name
Name for the cluster policy.- Parameters:
name- Name for the cluster policy. This parameter is required.- Returns:
this- See Also:
-
schedulerConfig
@Stability(Stable) public CfnClusterSchedulerConfig.Builder schedulerConfig(IResolvable schedulerConfig) Cluster policy configuration.- Parameters:
schedulerConfig- Cluster policy configuration. This parameter is required.- Returns:
this- See Also:
-
schedulerConfig
@Stability(Stable) public CfnClusterSchedulerConfig.Builder schedulerConfig(CfnClusterSchedulerConfig.SchedulerConfigProperty schedulerConfig) Cluster policy configuration.- Parameters:
schedulerConfig- Cluster policy configuration. This parameter is required.- Returns:
this- See Also:
-
description
Description of the cluster policy.- Parameters:
description- Description of the cluster policy. This parameter is required.- Returns:
this- See Also:
-
tags
Tags of the cluster policy.- Parameters:
tags- Tags of the cluster policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSchedulerConfig>- Returns:
- a newly built instance of
CfnClusterSchedulerConfig.
-