Class SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem>
- Enclosing interface:
SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem
@Stability(Experimental)
public static final class SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.initialInstanceCount(List<String> initialInstanceCount) initialVariantWeight(List<String> initialVariantWeight) instanceType(List<String> instanceType) variantName(List<String> variantName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialInstanceCount
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder initialInstanceCount(List<String> initialInstanceCount) Sets the value ofSageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.getInitialInstanceCount()- Parameters:
initialInstanceCount- InitialInstanceCount property. Specify an array of string values to match this event if the actual value of InitialInstanceCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
initialVariantWeight
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder initialVariantWeight(List<String> initialVariantWeight) Sets the value ofSageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.getInitialVariantWeight()- Parameters:
initialVariantWeight- InitialVariantWeight property. Specify an array of string values to match this event if the actual value of InitialVariantWeight is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceType
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder instanceType(List<String> instanceType) Sets the value ofSageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.getInstanceType()- Parameters:
instanceType- InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
modelName
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder modelName(List<String> modelName) Sets the value ofSageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.getModelName()- Parameters:
modelName- ModelName property. Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
variantName
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder variantName(List<String> variantName) Sets the value ofSageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.getVariantName()- Parameters:
variantName- VariantName property. Specify an array of string values to match this event if the actual value of VariantName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem>- Returns:
- a new instance of
SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem - Throws:
NullPointerException- if any required attribute was not provided
-