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