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