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