Class ECRReferrerAction.ECRReferrerActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.ECRReferrerAction.ECRReferrerActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ECRReferrerAction.ECRReferrerActionProps>
- Enclosing interface:
ECRReferrerAction.ECRReferrerActionProps
@Stability(Experimental)
public static final class ECRReferrerAction.ECRReferrerActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<ECRReferrerAction.ECRReferrerActionProps>
A builder for
ECRReferrerAction.ECRReferrerActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionType(List<String> actionType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getActionType()artifactMediaType(List<String> artifactMediaType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getArtifactMediaType()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getEventMetadata()imageDigest(List<String> imageDigest) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getImageDigest()Sets the value ofECRReferrerAction.ECRReferrerActionProps.getImageTag()lastActivatedAt(List<String> lastActivatedAt) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getLastActivatedAt()manifestMediaType(List<String> manifestMediaType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getManifestMediaType()repositoryName(List<String> repositoryName) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getRepositoryName()Sets the value ofECRReferrerAction.ECRReferrerActionProps.getResult()targetStorageClass(List<String> targetStorageClass) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getTargetStorageClass()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionType
@Stability(Experimental) public ECRReferrerAction.ECRReferrerActionProps.Builder actionType(List<String> actionType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder artifactMediaType(List<String> artifactMediaType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofECRReferrerAction.ECRReferrerActionProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
imageDigest
@Stability(Experimental) public ECRReferrerAction.ECRReferrerActionProps.Builder imageDigest(List<String> imageDigest) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder imageTag(List<String> imageTag) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder lastActivatedAt(List<String> lastActivatedAt) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder manifestMediaType(List<String> manifestMediaType) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder repositoryName(List<String> repositoryName) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder result(List<String> result) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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 ECRReferrerAction.ECRReferrerActionProps.Builder targetStorageClass(List<String> targetStorageClass) Sets the value ofECRReferrerAction.ECRReferrerActionProps.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<ECRReferrerAction.ECRReferrerActionProps>- Returns:
- a new instance of
ECRReferrerAction.ECRReferrerActionProps - Throws:
NullPointerException- if any required attribute was not provided
-