public static interface CreateChannelRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateChannelRequest.Builder |
destinations(Collection<Destination> destinations)
One or more event data stores to which events arriving through a channel will be logged.
|
CreateChannelRequest.Builder |
destinations(Consumer<Destination.Builder>... destinations)
One or more event data stores to which events arriving through a channel will be logged.
|
CreateChannelRequest.Builder |
destinations(Destination... destinations)
One or more event data stores to which events arriving through a channel will be logged.
|
CreateChannelRequest.Builder |
name(String name)
The name of the channel.
|
CreateChannelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateChannelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateChannelRequest.Builder |
source(String source)
The name of the partner or external event source.
|
CreateChannelRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateChannelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateChannelRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateChannelRequest.Builder name(String name)
The name of the channel.
name - The name of the channel.CreateChannelRequest.Builder source(String 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 Custom for all valid non-Amazon Web Services 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.
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 Custom for all valid non-Amazon Web Services 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.
CreateChannelRequest.Builder destinations(Collection<Destination> destinations)
One or more event data stores to which events arriving through a channel will be logged.
destinations - One or more event data stores to which events arriving through a channel will be logged.CreateChannelRequest.Builder destinations(Destination... destinations)
One or more event data stores to which events arriving through a channel will be logged.
destinations - One or more event data stores to which events arriving through a channel will be logged.CreateChannelRequest.Builder destinations(Consumer<Destination.Builder>... destinations)
One or more event data stores to which events arriving through a channel will be logged.
This is a convenience method that creates an instance of theDestination.Builder avoiding the need to create one
manually via Destination.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #destinations(List.
destinations - a consumer that will call methods on
Destination.Builder#destinations(java.util.Collection) CreateChannelRequest.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.CreateChannelRequest.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.