Class CfnPullThroughCacheRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecr.CfnPullThroughCacheRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPullThroughCacheRulePropsMixin>
- Enclosing class:
CfnPullThroughCacheRulePropsMixin
@Stability(Stable)
public static final class CfnPullThroughCacheRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPullThroughCacheRulePropsMixin>
A fluent builder for
CfnPullThroughCacheRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) credentialArn(String credentialArn) The ARN of the Secrets Manager secret associated with the pull through cache rule.customRoleArn(String customRoleArn) The ARN of the IAM role associated with the pull through cache rule.ecrRepositoryPrefix(String ecrRepositoryPrefix) The Amazon ECR repository prefix associated with the pull through cache rule.upstreamRegistry(String upstreamRegistry) The name of the upstream source registry associated with the pull through cache rule.upstreamRegistryUrl(String upstreamRegistryUrl) The upstream registry URL associated with the pull through cache rule.upstreamRepositoryPrefix(String upstreamRepositoryPrefix) The upstream repository prefix associated with the pull through cache rule.
-
Method Details
-
create
@Stability(Stable) public static CfnPullThroughCacheRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPullThroughCacheRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPullThroughCacheRulePropsMixin.Builder.
-
credentialArn
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.Builder credentialArn(String credentialArn) The ARN of the Secrets Manager secret associated with the pull through cache rule.- Parameters:
credentialArn- The ARN of the Secrets Manager secret associated with the pull through cache rule. This parameter is required.- Returns:
this- See Also:
-
customRoleArn
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.Builder customRoleArn(String customRoleArn) The ARN of the IAM role associated with the pull through cache rule.- Parameters:
customRoleArn- The ARN of the IAM role associated with the pull through cache rule. This parameter is required.- Returns:
this- See Also:
-
ecrRepositoryPrefix
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.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- See Also:
-
upstreamRegistry
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.Builder upstreamRegistry(String upstreamRegistry) The name of the upstream source registry associated with the pull through cache rule.- Parameters:
upstreamRegistry- The name of the upstream source registry associated with the pull through cache rule. This parameter is required.- Returns:
this- See Also:
-
upstreamRegistryUrl
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.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- See Also:
-
upstreamRepositoryPrefix
@Stability(Stable) public CfnPullThroughCacheRulePropsMixin.Builder upstreamRepositoryPrefix(String upstreamRepositoryPrefix) The upstream repository prefix associated with the pull through cache rule.- Parameters:
upstreamRepositoryPrefix- The upstream repository prefix associated with the pull through cache rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPullThroughCacheRulePropsMixin>- Returns:
- a newly built instance of
CfnPullThroughCacheRulePropsMixin.
-