Class CfnPublicRepository.RepositoryCatalogDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecr.CfnPublicRepository.RepositoryCatalogDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicRepository.RepositoryCatalogDataProperty>
- Enclosing interface:
CfnPublicRepository.RepositoryCatalogDataProperty
@Stability(Stable)
public static final class CfnPublicRepository.RepositoryCatalogDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicRepository.RepositoryCatalogDataProperty>
A builder for
CfnPublicRepository.RepositoryCatalogDataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getAboutText()
architectures
(List<String> architectures) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getArchitectures()
build()
Builds the configured instance.operatingSystems
(List<String> operatingSystems) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getOperatingSystems()
repositoryDescription
(String repositoryDescription) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getUsageText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aboutText
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder aboutText(String aboutText) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getAboutText()
- Parameters:
aboutText
- The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery.- Returns:
this
-
architectures
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder architectures(List<String> architectures) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getArchitectures()
- Parameters:
architectures
- The architecture tags that are associated with the repository.- Returns:
this
-
operatingSystems
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder operatingSystems(List<String> operatingSystems) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getOperatingSystems()
- Parameters:
operatingSystems
- The operating system tags that are associated with the repository.- Returns:
this
-
repositoryDescription
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder repositoryDescription(String repositoryDescription) - Parameters:
repositoryDescription
- The short description of the repository.- Returns:
this
-
usageText
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder usageText(String usageText) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getUsageText()
- Parameters:
usageText
- The longform usage details of the contents of the repository. The usage text provides context for users of the repository.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPublicRepository.RepositoryCatalogDataProperty>
- Returns:
- a new instance of
CfnPublicRepository.RepositoryCatalogDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-