Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelMixinProps>
- Enclosing interface:
CfnChannelMixinProps
@Stability(Stable)
public static final class CfnChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelMixinProps>
A builder for
CfnChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnChannelMixinProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnChannelMixinProps.getDestinations()Sets the value ofCfnChannelMixinProps.getName()Sets the value ofCfnChannelMixinProps.getSource()Sets the value ofCfnChannelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
Sets the value ofCfnChannelMixinProps.getDestinations()- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged.- Returns:
this
-
destinations
@Stability(Stable) public CfnChannelMixinProps.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnChannelMixinProps.getDestinations()- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged.- Returns:
this
-
name
Sets the value ofCfnChannelMixinProps.getName()- Parameters:
name- The name of the channel.- Returns:
this
-
source
Sets the value ofCfnChannelMixinProps.getSource()- Parameters:
source- The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source.A source can be either
Customfor all valid non- AWS events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.- Returns:
this
-
tags
Sets the value ofCfnChannelMixinProps.getTags()- Parameters:
tags- A list of tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelMixinProps>- Returns:
- a new instance of
CfnChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-