Class CfnPullThroughCacheRule.Builder

java.lang.Object
software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPullThroughCacheRule>
Enclosing class:
CfnPullThroughCacheRule

@Stability(Stable) public static final class CfnPullThroughCacheRule.Builder extends Object implements software.amazon.jsii.Builder<CfnPullThroughCacheRule>
A fluent builder for CfnPullThroughCacheRule.
  • Method Details

    • create

      @Stability(Stable) public static CfnPullThroughCacheRule.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPullThroughCacheRule.Builder.
    • ecrRepositoryPrefix

      @Stability(Stable) public CfnPullThroughCacheRule.Builder ecrRepositoryPrefix(String ecrRepositoryPrefix)
      The Amazon ECR repository prefix associated with the pull through cache rule.

      Parameters:
      ecrRepositoryPrefix - The Amazon ECR repository prefix associated with the pull through cache rule. This parameter is required.
      Returns:
      this
    • upstreamRegistryUrl

      @Stability(Stable) public CfnPullThroughCacheRule.Builder upstreamRegistryUrl(String upstreamRegistryUrl)
      The upstream registry URL associated with the pull through cache rule.

      Parameters:
      upstreamRegistryUrl - The upstream registry URL associated with the pull through cache rule. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnPullThroughCacheRule build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPullThroughCacheRule>
      Returns:
      a newly built instance of CfnPullThroughCacheRule.