Interface UpdateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudTrailRequest.Builder
,CopyableBuilder<UpdateChannelRequest.Builder,
,UpdateChannelRequest> SdkBuilder<UpdateChannelRequest.Builder,
,UpdateChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateChannelRequest
@Mutable
@NotThreadSafe
public static interface UpdateChannelRequest.Builder
extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN or ID (the ARN suffix) of the channel that you want to update.destinations
(Collection<Destination> destinations) The ARNs of event data stores that you want to log events arriving through the channel.destinations
(Consumer<Destination.Builder>... destinations) The ARNs of event data stores that you want to log events arriving through the channel.destinations
(Destination... destinations) The ARNs of event data stores that you want to log events arriving through the channel.Changes the name of the channel.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-