Package com.pulumi.aws.sagemaker.inputs
Class EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.sagemaker.inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder
-
public static final class EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs defaults)
-
-
Method Detail
-
canarySize
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder canarySize(@Nullable com.pulumi.core.Output<EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs> canarySize)
- Parameters:
canarySize
- Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.- Returns:
- builder
-
canarySize
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder canarySize(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs canarySize)
- Parameters:
canarySize
- Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.- Returns:
- builder
-
linearStepSize
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder linearStepSize(@Nullable com.pulumi.core.Output<EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs> linearStepSize)
- Parameters:
linearStepSize
- Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.- Returns:
- builder
-
linearStepSize
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder linearStepSize(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs linearStepSize)
- Parameters:
linearStepSize
- Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.- Returns:
- builder
-
type
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Traffic routing strategy type. Valid values are: `ALL_AT_ONCE`, `CANARY`, and `LINEAR`.- Returns:
- builder
-
type
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder type(java.lang.String type)
- Parameters:
type
- Traffic routing strategy type. Valid values are: `ALL_AT_ONCE`, `CANARY`, and `LINEAR`.- Returns:
- builder
-
waitIntervalInSeconds
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder waitIntervalInSeconds(com.pulumi.core.Output<java.lang.Integer> waitIntervalInSeconds)
- Parameters:
waitIntervalInSeconds
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between `0` and `3600`.- Returns:
- builder
-
waitIntervalInSeconds
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.Builder waitIntervalInSeconds(java.lang.Integer waitIntervalInSeconds)
- Parameters:
waitIntervalInSeconds
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between `0` and `3600`.- Returns:
- builder
-
build
public EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs build()
-
-