public static interface GetChannelResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetChannelResponse.Builder,GetChannelResponse>
| Modifier and Type | Method and Description |
|---|---|
GetChannelResponse.Builder |
channelArn(String channelArn)
The ARN of an channel returned by a
GetChannel request. |
GetChannelResponse.Builder |
destinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
|
GetChannelResponse.Builder |
destinations(Consumer<Destination.Builder>... destinations)
The Amazon Web Services service that created the service-linked channel.
|
GetChannelResponse.Builder |
destinations(Destination... destinations)
The Amazon Web Services service that created the service-linked channel.
|
GetChannelResponse.Builder |
name(String name)
The name of the CloudTrail channel.
|
GetChannelResponse.Builder |
source(String source)
The event source for the CloudTrail channel.
|
default GetChannelResponse.Builder |
sourceConfig(Consumer<SourceConfig.Builder> sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel
applies to all regions or a single region.
|
GetChannelResponse.Builder |
sourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel
applies to all regions or a single region.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetChannelResponse.Builder channelArn(String channelArn)
The ARN of an channel returned by a GetChannel request.
channelArn - The ARN of an channel returned by a GetChannel request.GetChannelResponse.Builder name(String name)
The name of the CloudTrail channel. For service-linked channels, the value is
aws-service-channel/service-name/custom-suffix where service-name represents the
name of the Amazon Web Services service that created the channel and custom-suffix represents
the suffix generated by the Amazon Web Services service.
name - The name of the CloudTrail channel. For service-linked channels, the value is
aws-service-channel/service-name/custom-suffix where service-name represents
the name of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix generated by the Amazon Web Services service.GetChannelResponse.Builder source(String source)
The event source for the CloudTrail channel.
source - The event source for the CloudTrail channel.GetChannelResponse.Builder sourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.
sourceConfig - Provides information about the advanced event selectors configured for the channel, and whether the
channel applies to all regions or a single region.default GetChannelResponse.Builder sourceConfig(Consumer<SourceConfig.Builder> sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.
This is a convenience method that creates an instance of theSourceConfig.Builder avoiding the need
to create one manually via SourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sourceConfig(SourceConfig).
sourceConfig - a consumer that will call methods on SourceConfig.BuildersourceConfig(SourceConfig)GetChannelResponse.Builder destinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
destinations - The Amazon Web Services service that created the service-linked channel.GetChannelResponse.Builder destinations(Destination... destinations)
The Amazon Web Services service that created the service-linked channel.
destinations - The Amazon Web Services service that created the service-linked channel.GetChannelResponse.Builder destinations(Consumer<Destination.Builder>... destinations)
The Amazon Web Services service that created the service-linked 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) Copyright © 2023. All rights reserved.