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
@Stability(Stable) public static CfnDiscoverer.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
description
A description for the discoverer.- Parameters:
description
- A description for the discoverer. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDiscoverer>
- Returns:
- a newly built instance of
CfnDiscoverer
.
-