Class CfnInferenceComponentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin>
- Enclosing class:
CfnInferenceComponentPropsMixin
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin>
A fluent builder for
CfnInferenceComponentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deploymentConfig(CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.deploymentConfig(IResolvable deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.endpointArn(String endpointArn) The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.endpointName(String endpointName) The name of the endpoint that hosts the inference component.inferenceComponentName(String inferenceComponentName) The name of the inference component.runtimeConfig(CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty runtimeConfig) The runtime config for the inference component.runtimeConfig(IResolvable runtimeConfig) The runtime config for the inference component.specification(CfnInferenceComponentPropsMixin.InferenceComponentSpecificationProperty specification) The specification for the inference component.specification(IResolvable specification) The specification for the inference component.An array of tags to apply to the resource.variantName(String variantName) The name of the production variant that hosts the inference component.
-
Method Details
-
create
@Stability(Stable) public static CfnInferenceComponentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.Builder.
-
deploymentConfig
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder deploymentConfig(IResolvable deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- Parameters:
deploymentConfig- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.- Returns:
this- See Also:
-
deploymentConfig
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder deploymentConfig(CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- Parameters:
deploymentConfig- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.- Returns:
this- See Also:
-
endpointArn
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.- Parameters:
endpointArn- The Amazon Resource Name (ARN) of the endpoint that hosts the inference component. This parameter is required.- Returns:
this- See Also:
-
endpointName
The name of the endpoint that hosts the inference component.- Parameters:
endpointName- The name of the endpoint that hosts the inference component. This parameter is required.- Returns:
this- See Also:
-
inferenceComponentName
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder inferenceComponentName(String inferenceComponentName) The name of the inference component.- Parameters:
inferenceComponentName- The name of the inference component. This parameter is required.- Returns:
this- See Also:
-
runtimeConfig
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder runtimeConfig(IResolvable runtimeConfig) The runtime config for the inference component.- Parameters:
runtimeConfig- The runtime config for the inference component. This parameter is required.- Returns:
this- See Also:
-
runtimeConfig
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder runtimeConfig(CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty runtimeConfig) The runtime config for the inference component.- Parameters:
runtimeConfig- The runtime config for the inference component. This parameter is required.- Returns:
this- See Also:
-
specification
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder specification(IResolvable specification) The specification for the inference component.- Parameters:
specification- The specification for the inference component. This parameter is required.- Returns:
this- See Also:
-
specification
@Stability(Stable) public CfnInferenceComponentPropsMixin.Builder specification(CfnInferenceComponentPropsMixin.InferenceComponentSpecificationProperty specification) The specification for the inference component.- Parameters:
specification- The specification for the inference component. This parameter is required.- Returns:
this- See Also:
-
tags
An array of tags to apply to the resource.- Parameters:
tags- An array of tags to apply to the resource. This parameter is required.- Returns:
this- See Also:
-
variantName
The name of the production variant that hosts the inference component.- Parameters:
variantName- The name of the production variant that hosts the inference component. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin>- Returns:
- a newly built instance of
CfnInferenceComponentPropsMixin.
-