Class PullThroughCacheRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.ecr.PullThroughCacheRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PullThroughCacheRuleReference>
- Enclosing interface:
PullThroughCacheRuleReference
@Stability(Stable)
public static final class PullThroughCacheRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<PullThroughCacheRuleReference>
A builder for
PullThroughCacheRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ecrRepositoryPrefix
(String ecrRepositoryPrefix) Sets the value ofPullThroughCacheRuleReference.getEcrRepositoryPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ecrRepositoryPrefix
@Stability(Stable) public PullThroughCacheRuleReference.Builder ecrRepositoryPrefix(String ecrRepositoryPrefix) Sets the value ofPullThroughCacheRuleReference.getEcrRepositoryPrefix()
- Parameters:
ecrRepositoryPrefix
- The EcrRepositoryPrefix of the PullThroughCacheRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PullThroughCacheRuleReference>
- Returns:
- a new instance of
PullThroughCacheRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-