public static final class CfnDiscovererProps.Builder
extends java.lang.Object
CfnDiscovererProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDiscovererProps |
build()
Builds the configured instance.
|
CfnDiscovererProps.Builder |
crossAccount(java.lang.Boolean crossAccount)
Sets the value of
CfnDiscovererProps.getCrossAccount() |
CfnDiscovererProps.Builder |
crossAccount(IResolvable crossAccount)
Sets the value of
CfnDiscovererProps.getCrossAccount() |
CfnDiscovererProps.Builder |
description(java.lang.String description)
Sets the value of
CfnDiscovererProps.getDescription() |
CfnDiscovererProps.Builder |
sourceArn(java.lang.String sourceArn)
Sets the value of
CfnDiscovererProps.getSourceArn() |
CfnDiscovererProps.Builder |
tags(java.util.List<? extends CfnDiscoverer.TagsEntryProperty> tags)
Sets the value of
CfnDiscovererProps.getTags() |
public CfnDiscovererProps.Builder sourceArn(java.lang.String sourceArn)
CfnDiscovererProps.getSourceArn()
sourceArn
- The ARN of the event bus. This parameter is required.this
public CfnDiscovererProps.Builder crossAccount(java.lang.Boolean crossAccount)
CfnDiscovererProps.getCrossAccount()
crossAccount
- Allows for the discovery of the event schemas that are sent to the event bus from another account.this
public CfnDiscovererProps.Builder crossAccount(IResolvable crossAccount)
CfnDiscovererProps.getCrossAccount()
crossAccount
- Allows for the discovery of the event schemas that are sent to the event bus from another account.this
public CfnDiscovererProps.Builder description(java.lang.String description)
CfnDiscovererProps.getDescription()
description
- A description for the discoverer.this
public CfnDiscovererProps.Builder tags(java.util.List<? extends CfnDiscoverer.TagsEntryProperty> tags)
CfnDiscovererProps.getTags()
tags
- Tags associated with the resource.this
public CfnDiscovererProps build()
CfnDiscovererProps
java.lang.NullPointerException
- if any required attribute was not provided