Class CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ScheduledUpdateConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.ScheduledUpdateConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ScheduledUpdateConfigProperty>
A builder for
CfnClusterPropsMixin.ScheduledUpdateConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deploymentConfig(CfnClusterPropsMixin.DeploymentConfigProperty deploymentConfig) Sets the value ofCfnClusterPropsMixin.ScheduledUpdateConfigProperty.getDeploymentConfig()deploymentConfig(IResolvable deploymentConfig) Sets the value ofCfnClusterPropsMixin.ScheduledUpdateConfigProperty.getDeploymentConfig()scheduleExpression(String scheduleExpression)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentConfig
@Stability(Stable) public CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder deploymentConfig(IResolvable deploymentConfig) Sets the value ofCfnClusterPropsMixin.ScheduledUpdateConfigProperty.getDeploymentConfig()- Parameters:
deploymentConfig- The configuration to use when updating the AMI versions.- Returns:
this
-
deploymentConfig
@Stability(Stable) public CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder deploymentConfig(CfnClusterPropsMixin.DeploymentConfigProperty deploymentConfig) Sets the value ofCfnClusterPropsMixin.ScheduledUpdateConfigProperty.getDeploymentConfig()- Parameters:
deploymentConfig- The configuration to use when updating the AMI versions.- Returns:
this
-
scheduleExpression
@Stability(Stable) public CfnClusterPropsMixin.ScheduledUpdateConfigProperty.Builder scheduleExpression(String scheduleExpression) - Parameters:
scheduleExpression- A cron expression that specifies the schedule that SageMaker follows when updating the AMI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ScheduledUpdateConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ScheduledUpdateConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-