Class ECRImageAction.ECRImageActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.ECRImageAction.ECRImageActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ECRImageAction.ECRImageActionProps>
- Enclosing interface:
ECRImageAction.ECRImageActionProps
@Stability(Experimental)
public static final class ECRImageAction.ECRImageActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<ECRImageAction.ECRImageActionProps>
A builder for
ECRImageAction.ECRImageActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionType(List<String> actionType) Sets the value ofECRImageAction.ECRImageActionProps.getActionType()artifactMediaType(List<String> artifactMediaType) Sets the value ofECRImageAction.ECRImageActionProps.getArtifactMediaType()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofECRImageAction.ECRImageActionProps.getEventMetadata()imageDigest(List<String> imageDigest) Sets the value ofECRImageAction.ECRImageActionProps.getImageDigest()Sets the value ofECRImageAction.ECRImageActionProps.getImageTag()lastActivatedAt(List<String> lastActivatedAt) Sets the value ofECRImageAction.ECRImageActionProps.getLastActivatedAt()manifestMediaType(List<String> manifestMediaType) Sets the value ofECRImageAction.ECRImageActionProps.getManifestMediaType()repositoryName(List<String> repositoryName) Sets the value ofECRImageAction.ECRImageActionProps.getRepositoryName()Sets the value ofECRImageAction.ECRImageActionProps.getResult()targetStorageClass(List<String> targetStorageClass) Sets the value ofECRImageAction.ECRImageActionProps.getTargetStorageClass()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionType
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder actionType(List<String> actionType) Sets the value ofECRImageAction.ECRImageActionProps.getActionType()- Parameters:
actionType- action-type property. Specify an array of string values to match this event if the actual value of action-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
artifactMediaType
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder artifactMediaType(List<String> artifactMediaType) Sets the value ofECRImageAction.ECRImageActionProps.getArtifactMediaType()- Parameters:
artifactMediaType- artifact-media-type property. Specify an array of string values to match this event if the actual value of artifact-media-type 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 ECRImageAction.ECRImageActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofECRImageAction.ECRImageActionProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
imageDigest
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder imageDigest(List<String> imageDigest) Sets the value ofECRImageAction.ECRImageActionProps.getImageDigest()- Parameters:
imageDigest- image-digest property. Specify an array of string values to match this event if the actual value of image-digest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imageTag
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder imageTag(List<String> imageTag) Sets the value ofECRImageAction.ECRImageActionProps.getImageTag()- Parameters:
imageTag- image-tag property. Specify an array of string values to match this event if the actual value of image-tag is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastActivatedAt
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder lastActivatedAt(List<String> lastActivatedAt) Sets the value ofECRImageAction.ECRImageActionProps.getLastActivatedAt()- Parameters:
lastActivatedAt- last-activated-at property. Specify an array of string values to match this event if the actual value of last-activated-at is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
manifestMediaType
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder manifestMediaType(List<String> manifestMediaType) Sets the value ofECRImageAction.ECRImageActionProps.getManifestMediaType()- Parameters:
manifestMediaType- manifest-media-type property. Specify an array of string values to match this event if the actual value of manifest-media-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryName
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder repositoryName(List<String> repositoryName) Sets the value ofECRImageAction.ECRImageActionProps.getRepositoryName()- Parameters:
repositoryName- repository-name property. Specify an array of string values to match this event if the actual value of repository-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
result
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder result(List<String> result) Sets the value ofECRImageAction.ECRImageActionProps.getResult()- Parameters:
result- result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
targetStorageClass
@Stability(Experimental) public ECRImageAction.ECRImageActionProps.Builder targetStorageClass(List<String> targetStorageClass) Sets the value ofECRImageAction.ECRImageActionProps.getTargetStorageClass()- Parameters:
targetStorageClass- target-storage-class property. Specify an array of string values to match this event if the actual value of target-storage-class 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<ECRImageAction.ECRImageActionProps>- Returns:
- a new instance of
ECRImageAction.ECRImageActionProps - Throws:
NullPointerException- if any required attribute was not provided
-