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