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