Class CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.currentCopyCount(Number currentCopyCount) instanceType(String instanceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
currentCopyCount
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.Builder currentCopyCount(Number currentCopyCount) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.getCurrentCopyCount()- Parameters:
currentCopyCount- The number of copies for the inference component.- Returns:
this
-
instanceType
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.Builder instanceType(String instanceType) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty.getInstanceType()- Parameters:
instanceType- An ML compute instance type.- Returns:
this
-
build
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.InferenceComponentPlacementStatusProperty - Throws:
NullPointerException- if any required attribute was not provided
-