Interface InferenceComponentDeploymentConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InferenceComponentDeploymentConfig.Builder,InferenceComponentDeploymentConfig>
,SdkBuilder<InferenceComponentDeploymentConfig.Builder,InferenceComponentDeploymentConfig>
,SdkPojo
- Enclosing class:
- InferenceComponentDeploymentConfig
public static interface InferenceComponentDeploymentConfig.Builder extends SdkPojo, CopyableBuilder<InferenceComponentDeploymentConfig.Builder,InferenceComponentDeploymentConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InferenceComponentDeploymentConfig.Builder
autoRollbackConfiguration(Consumer<AutoRollbackConfig.Builder> autoRollbackConfiguration)
Sets the value of the AutoRollbackConfiguration property for this object.InferenceComponentDeploymentConfig.Builder
autoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Sets the value of the AutoRollbackConfiguration property for this object.default InferenceComponentDeploymentConfig.Builder
rollingUpdatePolicy(Consumer<InferenceComponentRollingUpdatePolicy.Builder> rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.InferenceComponentDeploymentConfig.Builder
rollingUpdatePolicy(InferenceComponentRollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.-
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
-
rollingUpdatePolicy
InferenceComponentDeploymentConfig.Builder rollingUpdatePolicy(InferenceComponentRollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.
- Parameters:
rollingUpdatePolicy
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollingUpdatePolicy
default InferenceComponentDeploymentConfig.Builder rollingUpdatePolicy(Consumer<InferenceComponentRollingUpdatePolicy.Builder> rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.
This is a convenience method that creates an instance of theInferenceComponentRollingUpdatePolicy.Builder
avoiding the need to create one manually viaInferenceComponentRollingUpdatePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollingUpdatePolicy(InferenceComponentRollingUpdatePolicy)
.- Parameters:
rollingUpdatePolicy
- a consumer that will call methods onInferenceComponentRollingUpdatePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rollingUpdatePolicy(InferenceComponentRollingUpdatePolicy)
-
autoRollbackConfiguration
InferenceComponentDeploymentConfig.Builder autoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Sets the value of the AutoRollbackConfiguration property for this object.- Parameters:
autoRollbackConfiguration
- The new value for the AutoRollbackConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
default InferenceComponentDeploymentConfig.Builder autoRollbackConfiguration(Consumer<AutoRollbackConfig.Builder> autoRollbackConfiguration)
Sets the value of the AutoRollbackConfiguration property for this object. This is a convenience method that creates an instance of theAutoRollbackConfig.Builder
avoiding the need to create one manually viaAutoRollbackConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoRollbackConfiguration(AutoRollbackConfig)
.- Parameters:
autoRollbackConfiguration
- a consumer that will call methods onAutoRollbackConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoRollbackConfiguration(AutoRollbackConfig)
-
-