Class RepositoryReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ecr.RepositoryReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryReference>
- Enclosing interface:
RepositoryReference
@Stability(Stable)
public static final class RepositoryReference.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryReference>
A builder for
RepositoryReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.repositoryArn(String repositoryArn) Sets the value ofRepositoryReference.getRepositoryArn()repositoryName(String repositoryName) Sets the value ofRepositoryReference.getRepositoryName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryArn
Sets the value ofRepositoryReference.getRepositoryArn()- Parameters:
repositoryArn- The ARN of the Repository resource. This parameter is required.- Returns:
this
-
repositoryName
Sets the value ofRepositoryReference.getRepositoryName()- Parameters:
repositoryName- The RepositoryName of the Repository resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RepositoryReference>- Returns:
- a new instance of
RepositoryReference - Throws:
NullPointerException- if any required attribute was not provided
-