Class CfnDiscovererMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.eventschemas.mixins.CfnDiscovererMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDiscovererMixinProps>
- Enclosing interface:
CfnDiscovererMixinProps
@Stability(Stable)
public static final class CfnDiscovererMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDiscovererMixinProps>
A builder for
CfnDiscovererMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossAccount(Boolean crossAccount) Sets the value ofCfnDiscovererMixinProps.getCrossAccount()crossAccount(IResolvable crossAccount) Sets the value ofCfnDiscovererMixinProps.getCrossAccount()description(String description) Sets the value ofCfnDiscovererMixinProps.getDescription()Sets the value ofCfnDiscovererMixinProps.getSourceArn()tags(List<? extends CfnDiscovererPropsMixin.TagsEntryProperty> tags) Sets the value ofCfnDiscovererMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crossAccount
Sets the value ofCfnDiscovererMixinProps.getCrossAccount()- Parameters:
crossAccount- Allows for the discovery of the event schemas that are sent to the event bus from another account.- Returns:
this
-
crossAccount
Sets the value ofCfnDiscovererMixinProps.getCrossAccount()- Parameters:
crossAccount- Allows for the discovery of the event schemas that are sent to the event bus from another account.- Returns:
this
-
description
Sets the value ofCfnDiscovererMixinProps.getDescription()- Parameters:
description- A description for the discoverer.- Returns:
this
-
sourceArn
Sets the value ofCfnDiscovererMixinProps.getSourceArn()- Parameters:
sourceArn- The ARN of the event bus.- Returns:
this
-
tags
@Stability(Stable) public CfnDiscovererMixinProps.Builder tags(List<? extends CfnDiscovererPropsMixin.TagsEntryProperty> tags) Sets the value ofCfnDiscovererMixinProps.getTags()- Parameters:
tags- Tags associated with the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDiscovererMixinProps>- Returns:
- a new instance of
CfnDiscovererMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-