Class CfnRegistryProps.Builder
java.lang.Object
software.amazon.awscdk.services.eventschemas.CfnRegistryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryProps>
- Enclosing interface:
- CfnRegistryProps
@Stability(Stable)
public static final class CfnRegistryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryProps>
A builder for
CfnRegistryProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnRegistryProps.getDescription()registryName(String registryName) Sets the value ofCfnRegistryProps.getRegistryName()tags(List<? extends CfnRegistry.TagsEntryProperty> tags) Sets the value ofCfnRegistryProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnRegistryProps.getDescription()- Parameters:
description- A description of the registry to be created.- Returns:
this
-
registryName
Sets the value ofCfnRegistryProps.getRegistryName()- Parameters:
registryName- The name of the schema registry.- Returns:
this
-
tags
@Stability(Stable) public CfnRegistryProps.Builder tags(List<? extends CfnRegistry.TagsEntryProperty> tags) Sets the value ofCfnRegistryProps.getTags()- Parameters:
tags- Tags to associate with the registry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryProps>- Returns:
- a new instance of
CfnRegistryProps - Throws:
NullPointerException- if any required attribute was not provided
-