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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDiscoverer.Builder
crossAccount
(Boolean crossAccount) Allows for the discovery of the event schemas that are sent to the event bus from another account.crossAccount
(IResolvable crossAccount) Allows for the discovery of the event schemas that are sent to the event bus from another account.description
(String description) A description for the discoverer.The ARN of the event bus.tags
(List<? extends CfnDiscoverer.TagsEntryProperty> tags) Tags associated with the resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDiscoverer.Builder
.
-
sourceArn
The ARN of the event bus.- Parameters:
sourceArn
- The ARN of the event bus. This parameter is required.- Returns:
this
-
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDiscoverer>
- Returns:
- a newly built instance of
CfnDiscoverer
.
-