Class SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps>
- Enclosing interface:
SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps
@Stability(Experimental)
public static final class SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certifyForMarketplace(List<String> certifyForMarketplace) eventMetadata(AWSEventMetadataProps eventMetadata) modelPackageArn(List<String> modelPackageArn) modelPackageDescription(List<String> modelPackageDescription) modelPackageName(List<String> modelPackageName) tags(List<? extends SageMakerModelPackageStateChange.Tags> tags)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certifyForMarketplace
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder certifyForMarketplace(List<String> certifyForMarketplace) Sets the value ofSageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.getCertifyForMarketplace()- Parameters:
certifyForMarketplace- CertifyForMarketplace property. Specify an array of string values to match this event if the actual value of CertifyForMarketplace is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofSageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
modelPackageArn
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder modelPackageArn(List<String> modelPackageArn) Sets the value ofSageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.getModelPackageArn()- Parameters:
modelPackageArn- ModelPackageArn property. Specify an array of string values to match this event if the actual value of ModelPackageArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
modelPackageDescription
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder modelPackageDescription(List<String> modelPackageDescription) Sets the value ofSageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.getModelPackageDescription()- Parameters:
modelPackageDescription- ModelPackageDescription property. Specify an array of string values to match this event if the actual value of ModelPackageDescription is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
modelPackageName
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder modelPackageName(List<String> modelPackageName) Sets the value ofSageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.getModelPackageName()- Parameters:
modelPackageName- ModelPackageName property. Specify an array of string values to match this event if the actual value of ModelPackageName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps.Builder tags(List<? extends SageMakerModelPackageStateChange.Tags> tags) - Parameters:
tags- Tags property. Specify an array of string values to match this event if the actual value of Tags 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 SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps>- Returns:
- a new instance of
SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-