Interface ScheduledUpdateConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledUpdateConfig.Builder,ScheduledUpdateConfig>,SdkBuilder<ScheduledUpdateConfig.Builder,ScheduledUpdateConfig>,SdkPojo
- Enclosing class:
- ScheduledUpdateConfig
@Mutable @NotThreadSafe public static interface ScheduledUpdateConfig.Builder extends SdkPojo, CopyableBuilder<ScheduledUpdateConfig.Builder,ScheduledUpdateConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ScheduledUpdateConfig.BuilderdeploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig)The configuration to use when updating the AMI versions.ScheduledUpdateConfig.BuilderdeploymentConfig(DeploymentConfiguration deploymentConfig)The configuration to use when updating the AMI versions.ScheduledUpdateConfig.BuilderscheduleExpression(String scheduleExpression)A cron expression that specifies the schedule that SageMaker follows when updating the AMI.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scheduleExpression
ScheduledUpdateConfig.Builder scheduleExpression(String scheduleExpression)
A cron expression that specifies the schedule that SageMaker follows when updating the AMI.
- Parameters:
scheduleExpression- A cron expression that specifies the schedule that SageMaker follows when updating the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
ScheduledUpdateConfig.Builder deploymentConfig(DeploymentConfiguration deploymentConfig)
The configuration to use when updating the AMI versions.
- Parameters:
deploymentConfig- The configuration to use when updating the AMI versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default ScheduledUpdateConfig.Builder deploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig)
The configuration to use when updating the AMI versions.
This is a convenience method that creates an instance of theDeploymentConfiguration.Builderavoiding the need to create one manually viaDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfig(DeploymentConfiguration).- Parameters:
deploymentConfig- a consumer that will call methods onDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentConfig(DeploymentConfiguration)
-
-