public static interface UpdateChannelRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateChannelRequest.Builder |
channel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
|
UpdateChannelRequest.Builder |
destinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
UpdateChannelRequest.Builder |
destinations(Consumer<Destination.Builder>... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
UpdateChannelRequest.Builder |
destinations(Destination... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
UpdateChannelRequest.Builder |
name(String name)
Changes the name of the channel.
|
UpdateChannelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateChannelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateChannelRequest.Builder channel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
channel - The ARN or ID (the ARN suffix) of the channel that you want to update.UpdateChannelRequest.Builder destinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
destinations - The ARNs of event data stores that you want to log events arriving through the channel.UpdateChannelRequest.Builder destinations(Destination... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
destinations - The ARNs of event data stores that you want to log events arriving through the channel.UpdateChannelRequest.Builder destinations(Consumer<Destination.Builder>... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
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) UpdateChannelRequest.Builder name(String name)
Changes the name of the channel.
name - Changes the name of the channel.UpdateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.