Package com.pulumi.aws.sagemaker.inputs
Class EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.sagemaker.inputs.EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder
-
- Enclosing class:
- EndpointDeploymentConfigRollingUpdatePolicyArgs
public static final class EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EndpointDeploymentConfigRollingUpdatePolicyArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EndpointDeploymentConfigRollingUpdatePolicyArgs defaults)
-
-
Method Detail
-
maximumBatchSize
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder maximumBatchSize(com.pulumi.core.Output<EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs> maximumBatchSize)
- Parameters:
maximumBatchSize- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.- Returns:
- builder
-
maximumBatchSize
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder maximumBatchSize(EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs maximumBatchSize)
- Parameters:
maximumBatchSize- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.- Returns:
- builder
-
maximumExecutionTimeoutInSeconds
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder maximumExecutionTimeoutInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumExecutionTimeoutInSeconds)
- Parameters:
maximumExecutionTimeoutInSeconds- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between `600` and `14400`.- Returns:
- builder
-
maximumExecutionTimeoutInSeconds
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder maximumExecutionTimeoutInSeconds(java.lang.Integer maximumExecutionTimeoutInSeconds)
- Parameters:
maximumExecutionTimeoutInSeconds- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between `600` and `14400`.- Returns:
- builder
-
rollbackMaximumBatchSize
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder rollbackMaximumBatchSize(@Nullable com.pulumi.core.Output<EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs> rollbackMaximumBatchSize)
- Parameters:
rollbackMaximumBatchSize- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.- Returns:
- builder
-
rollbackMaximumBatchSize
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder rollbackMaximumBatchSize(EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs rollbackMaximumBatchSize)
- Parameters:
rollbackMaximumBatchSize- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.- Returns:
- builder
-
waitIntervalInSeconds
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder waitIntervalInSeconds(com.pulumi.core.Output<java.lang.Integer> waitIntervalInSeconds)
- Parameters:
waitIntervalInSeconds- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between `0` and `3600`.- Returns:
- builder
-
waitIntervalInSeconds
public EndpointDeploymentConfigRollingUpdatePolicyArgs.Builder waitIntervalInSeconds(java.lang.Integer waitIntervalInSeconds)
- Parameters:
waitIntervalInSeconds- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between `0` and `3600`.- Returns:
- builder
-
build
public EndpointDeploymentConfigRollingUpdatePolicyArgs build()
-
-