Class CfnDiscoverer.Builder

java.lang.Object
software.amazon.awscdk.services.eventschemas.CfnDiscoverer.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDiscoverer>
Enclosing class:
CfnDiscoverer

@Stability(Stable) public static final class CfnDiscoverer.Builder extends Object implements software.amazon.jsii.Builder<CfnDiscoverer>
A fluent builder for CfnDiscoverer.
  • Method Details

    • create

      @Stability(Stable) public static CfnDiscoverer.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 CfnDiscoverer.Builder.
    • sourceArn

      @Stability(Stable) public CfnDiscoverer.Builder sourceArn(String sourceArn)
      The ARN of the event bus.

      Parameters:
      sourceArn - The ARN of the event bus. This parameter is required.
      Returns:
      this
    • crossAccount

      @Stability(Stable) public CfnDiscoverer.Builder crossAccount(Boolean crossAccount)
      Allows for the discovery of the event schemas that are sent to the event bus from another account.

      Parameters:
      crossAccount - Allows for the discovery of the event schemas that are sent to the event bus from another account. This parameter is required.
      Returns:
      this
    • crossAccount

      @Stability(Stable) public CfnDiscoverer.Builder crossAccount(IResolvable crossAccount)
      Allows for the discovery of the event schemas that are sent to the event bus from another account.

      Parameters:
      crossAccount - Allows for the discovery of the event schemas that are sent to the event bus from another account. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDiscoverer.Builder description(String description)
      A description for the discoverer.

      Parameters:
      description - A description for the discoverer. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDiscoverer.Builder tags(List<? extends CfnDiscoverer.TagsEntryProperty> tags)
      Tags associated with the resource.

      Parameters:
      tags - Tags associated with the resource. This parameter is required.
      Returns:
      this
    • build

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