Class ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem>
- Enclosing interface:
ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem
@Stability(Experimental)
public static final class ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder
extends Object
implements software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.initialInstanceCount(List<String> initialInstanceCount) initialVariantWeight(List<String> initialVariantWeight) instanceType(List<String> instanceType) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.getModelName()variantName(List<String> variantName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialInstanceCount
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder initialInstanceCount(List<String> initialInstanceCount) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.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 ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder initialVariantWeight(List<String> initialVariantWeight) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.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 ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder instanceType(List<String> instanceType) - 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 ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder modelName(List<String> modelName) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.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 ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem.Builder variantName(List<String> variantName) - 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem>- Returns:
- a new instance of
ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem - Throws:
NullPointerException- if any required attribute was not provided
-