Interface GetChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GetChannelResponse.Builder,,GetChannelResponse> SdkBuilder<GetChannelResponse.Builder,,GetChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetChannelResponse
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of an channel returned by aGetChannelrequest.destinations(Collection<Destination> destinations) The destinations for the channel.destinations(Consumer<Destination.Builder>... destinations) The destinations for the channel.destinations(Destination... destinations) The destinations for the channel.default GetChannelResponse.BuilderingestionStatus(Consumer<IngestionStatus.Builder> ingestionStatus) A table showing information about the most recent successful and failed attempts to ingest events.ingestionStatus(IngestionStatus ingestionStatus) A table showing information about the most recent successful and failed attempts to ingest events.The name of the CloudTrail channel.The source for the CloudTrail channel.default GetChannelResponse.BuildersourceConfig(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.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.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelArn
The ARN of an channel returned by a
GetChannelrequest.- Parameters:
channelArn- The ARN of an channel returned by aGetChannelrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffixwhereservice-namerepresents the name of the Amazon Web Services service that created the channel andcustom-suffixrepresents the suffix generated by the Amazon Web Services service.- Parameters:
name- The name of the CloudTrail channel. For service-linked channels, the name isaws-service-channel/service-name/custom-suffixwhereservice-namerepresents the name of the Amazon Web Services service that created the channel andcustom-suffixrepresents the suffix generated by the Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source for the CloudTrail channel.
- Parameters:
source- The source for the CloudTrail channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.
- Parameters:
sourceConfig- Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(SourceConfig).- Parameters:
sourceConfig- a consumer that will call methods onSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
- Parameters:
destinations- The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
- Parameters:
destinations- The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<Destination>).- Parameters:
destinations- a consumer that will call methods onDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestionStatus
A table showing information about the most recent successful and failed attempts to ingest events.
- Parameters:
ingestionStatus- A table showing information about the most recent successful and failed attempts to ingest events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStatus
default GetChannelResponse.Builder ingestionStatus(Consumer<IngestionStatus.Builder> ingestionStatus) A table showing information about the most recent successful and failed attempts to ingest events.
This is a convenience method that creates an instance of theIngestionStatus.Builderavoiding the need to create one manually viaIngestionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toingestionStatus(IngestionStatus).- Parameters:
ingestionStatus- a consumer that will call methods onIngestionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-