Class CfnRegistry.Builder
java.lang.Object
software.amazon.awscdk.services.eventschemas.CfnRegistry.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistry>
- Enclosing class:
CfnRegistry
@Stability(Stable)
public static final class CfnRegistry.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistry>
A fluent builder for
CfnRegistry
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnRegistry.Builder
description
(String description) A description of the registry to be created.registryName
(String registryName) The name of the schema registry.tags
(List<? extends CfnRegistry.TagsEntryProperty> tags) Tags to associate with the registry.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnRegistry.Builder
.
-
description
A description of the registry to be created.- Parameters:
description
- A description of the registry to be created. This parameter is required.- Returns:
this
-
registryName
The name of the schema registry.- Parameters:
registryName
- The name of the schema registry. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnRegistry.Builder tags(List<? extends CfnRegistry.TagsEntryProperty> tags) Tags to associate with the registry.- Parameters:
tags
- Tags to associate with the registry. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRegistry>
- Returns:
- a newly built instance of
CfnRegistry
.
-