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