Class RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps>
- Enclosing interface:
RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps
@Stability(Experimental)
public static final class RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionType(List<String> actionType) build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) imageDigest(List<String> imageDigest) repositoryName(List<String> repositoryName) sourceAccount(List<String> sourceAccount) sourceRegion(List<String> sourceRegion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionType
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.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
-
eventMetadata
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
imageDigest
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.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.ECRReplicationAction.ECRReplicationActionProps.Builder imageTag(List<String> imageTag) - 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
-
repositoryName
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder repositoryName(List<String> repositoryName) Sets the value ofRepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.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.ECRReplicationAction.ECRReplicationActionProps.Builder result(List<String> result) - 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
-
sourceAccount
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder sourceAccount(List<String> sourceAccount) Sets the value ofRepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.getSourceAccount()- Parameters:
sourceAccount- source-account property. Specify an array of string values to match this event if the actual value of source-account is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceRegion
@Stability(Experimental) public RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps.Builder sourceRegion(List<String> sourceRegion) - Parameters:
sourceRegion- source-region property. Specify an array of string values to match this event if the actual value of source-region 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 RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps>- Returns:
- a new instance of
RepositoryEvents.ECRReplicationAction.ECRReplicationActionProps - Throws:
NullPointerException- if any required attribute was not provided
-