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
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
buildMethods 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, 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.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:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-