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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateChannelResponse.BuilderchannelArn(String channelArn)The ARN of the channel that was updated.UpdateChannelResponse.Builderdestinations(Collection<Destination> destinations)The event data stores that log events arriving through the channel.UpdateChannelResponse.Builderdestinations(Consumer<Destination.Builder>... destinations)The event data stores that log events arriving through the channel.UpdateChannelResponse.Builderdestinations(Destination... destinations)The event data stores that log events arriving through the channel.UpdateChannelResponse.Buildername(String name)The name of the channel that was updated.UpdateChannelResponse.Buildersource(String source)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 Detail
-
channelArn
UpdateChannelResponse.Builder channelArn(String 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
UpdateChannelResponse.Builder name(String 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
UpdateChannelResponse.Builder source(String 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
UpdateChannelResponse.Builder destinations(Collection<Destination> 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
UpdateChannelResponse.Builder destinations(Destination... 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
UpdateChannelResponse.Builder destinations(Consumer<Destination.Builder>... destinations)
The event data stores that log events arriving through the channel.
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 to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
-