Class EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem>
- Enclosing interface:
EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem
@Stability(Experimental)
public static final class EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder
extends Object
implements software.amazon.jsii.Builder<EndpointConfigEvents.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder initialInstanceCount(List<String> initialInstanceCount) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder initialVariantWeight(List<String> initialVariantWeight) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder instanceType(List<String> instanceType) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder modelName(List<String> modelName) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem.Builder variantName(List<String> variantName) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem>- Returns:
- a new instance of
EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem - Throws:
NullPointerException- if any required attribute was not provided
-