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 Details

    • create

      @Stability(Stable) public static CfnRegistry.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnRegistry.Builder.
    • description

      @Stability(Stable) public CfnRegistry.Builder description(String 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

      @Stability(Stable) public CfnRegistry.Builder registryName(String 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

      @Stability(Stable) public CfnRegistry build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnRegistry>
      Returns:
      a newly built instance of CfnRegistry.