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
-CfnPublicRepository.RepositoryCatalogDataProperty.AboutText
.- Returns:
this
-
architectures
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder architectures(List<String> architectures) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getArchitectures()
- Parameters:
architectures
-CfnPublicRepository.RepositoryCatalogDataProperty.Architectures
.- Returns:
this
-
operatingSystems
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder operatingSystems(List<String> operatingSystems) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getOperatingSystems()
- Parameters:
operatingSystems
-CfnPublicRepository.RepositoryCatalogDataProperty.OperatingSystems
.- Returns:
this
-
repositoryDescription
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder repositoryDescription(String repositoryDescription) - Parameters:
repositoryDescription
-CfnPublicRepository.RepositoryCatalogDataProperty.RepositoryDescription
.- Returns:
this
-
usageText
@Stability(Stable) public CfnPublicRepository.RepositoryCatalogDataProperty.Builder usageText(String usageText) Sets the value ofCfnPublicRepository.RepositoryCatalogDataProperty.getUsageText()
- Parameters:
usageText
-CfnPublicRepository.RepositoryCatalogDataProperty.UsageText
.- 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
-