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
Modifier and TypeMethodDescriptiondefault ScheduledUpdateConfig.BuilderdeploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig) The configuration to use when updating the AMI versions.deploymentConfig(DeploymentConfiguration deploymentConfig) The configuration to use when updating the AMI versions.scheduleExpression(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-