Interface UpdateChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<UpdateChannelResponse.Builder,
,UpdateChannelResponse> SdkBuilder<UpdateChannelResponse.Builder,
,UpdateChannelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateChannelResponse
public static interface UpdateChannelResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<UpdateChannelResponse.Builder,UpdateChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel that was updated.destinations
(Collection<Destination> destinations) The event data stores that log events arriving through the channel.destinations
(Consumer<Destination.Builder>... destinations) The event data stores that log events arriving through the channel.destinations
(Destination... destinations) The event data stores that log events arriving through the channel.The name of the channel that was updated.The event source of the channel that was updated.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelArn
The ARN of the channel that was updated.
- Parameters:
channelArn
- The ARN of the channel that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the channel that was updated.
- Parameters:
name
- The name of the channel that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The event source of the channel that was updated.
- Parameters:
source
- The event source of the channel that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The event data stores that log events arriving through the channel.
- Parameters:
destinations
- The event data stores that log events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The event data stores that log events arriving through the channel.
- Parameters:
destinations
- The event data stores that log events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The event data stores that 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 viaDestination.builder()
.When the
Consumer
completes,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:
-