Interface UpdateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>,SdkBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateChannelRequest
public static interface UpdateChannelRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateChannelRequest.Builderchannel(String channel)The ARN or ID (the ARN suffix) of the channel that you want to update.UpdateChannelRequest.Builderdestinations(Collection<Destination> destinations)The ARNs of event data stores that you want to log events arriving through the channel.UpdateChannelRequest.Builderdestinations(Consumer<Destination.Builder>... destinations)The ARNs of event data stores that you want to log events arriving through the channel.UpdateChannelRequest.Builderdestinations(Destination... destinations)The ARNs of event data stores that you want to log events arriving through the channel.UpdateChannelRequest.Buildername(String name)Changes the name of the channel.UpdateChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
channel
UpdateChannelRequest.Builder channel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
- Parameters:
channel- The ARN or ID (the ARN suffix) of the channel that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
UpdateChannelRequest.Builder destinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
- Parameters:
destinations- The ARNs of event data stores that you want to log events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
UpdateChannelRequest.Builder destinations(Destination... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
- Parameters:
destinations- The ARNs of event data stores that you want to log events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
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.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)
-
name
UpdateChannelRequest.Builder name(String name)
Changes the name of the channel.
- Parameters:
name- Changes the name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-