Class CfnInferenceComponent.InferenceComponentPlacementStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentPlacementStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponent.InferenceComponentPlacementStatusProperty>
- Enclosing interface:
CfnInferenceComponent.InferenceComponentPlacementStatusProperty
@Stability(Stable)
public static final class CfnInferenceComponent.InferenceComponentPlacementStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponent.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 CfnInferenceComponent.InferenceComponentPlacementStatusProperty.Builder currentCopyCount(Number currentCopyCount) Sets the value ofCfnInferenceComponent.InferenceComponentPlacementStatusProperty.getCurrentCopyCount()- Parameters:
currentCopyCount- The number of copies for the inference component. This parameter is required.- Returns:
this
-
instanceType
@Stability(Stable) public CfnInferenceComponent.InferenceComponentPlacementStatusProperty.Builder instanceType(String instanceType) - Parameters:
instanceType- An ML compute instance type. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponent.InferenceComponentPlacementStatusProperty>- Returns:
- a new instance of
CfnInferenceComponent.InferenceComponentPlacementStatusProperty - Throws:
NullPointerException- if any required attribute was not provided
-