Class RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps>
- Enclosing interface:
RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps
@Stability(Experimental)
public static final class RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ecrRepositoryPrefix(List<String> ecrRepositoryPrefix) eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureReason(List<String> failureReason) imageDigest(List<String> imageDigest) repositoryName(List<String> repositoryName) syncStatus(List<String> syncStatus) upstreamRegistryUrl(List<String> upstreamRegistryUrl)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ecrRepositoryPrefix
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder ecrRepositoryPrefix(List<String> ecrRepositoryPrefix) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getEcrRepositoryPrefix()- Parameters:
ecrRepositoryPrefix- ecr-repository-prefix property. Specify an array of string values to match this event if the actual value of ecr-repository-prefix 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.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder failureCode(List<String> failureCode) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getFailureCode()- Parameters:
failureCode- failure-code property. Specify an array of string values to match this event if the actual value of failure-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failureReason
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder failureReason(List<String> failureReason) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getFailureReason()- Parameters:
failureReason- failure-reason property. Specify an array of string values to match this event if the actual value of failure-reason is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imageDigest
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder imageDigest(List<String> imageDigest) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.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.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder imageTag(List<String> imageTag) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.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 RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder repositoryName(List<String> repositoryName) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.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
-
syncStatus
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder syncStatus(List<String> syncStatus) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getSyncStatus()- Parameters:
syncStatus- sync-status property. Specify an array of string values to match this event if the actual value of sync-status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
upstreamRegistryUrl
@Stability(Experimental) public RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.Builder upstreamRegistryUrl(List<String> upstreamRegistryUrl) Sets the value ofRepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps.getUpstreamRegistryUrl()- Parameters:
upstreamRegistryUrl- upstream-registry-url property. Specify an array of string values to match this event if the actual value of upstream-registry-url 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.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps>- Returns:
- a new instance of
RepositoryEvents.ECRPullThroughCacheAction.ECRPullThroughCacheActionProps - Throws:
NullPointerException- if any required attribute was not provided
-