Interface CreateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelRequest
public static interface CreateChannelRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateChannelRequest.Builderdestinations(Collection<Destination> destinations)One or more event data stores to which events arriving through a channel will be logged.CreateChannelRequest.Builderdestinations(Consumer<Destination.Builder>... destinations)One or more event data stores to which events arriving through a channel will be logged.CreateChannelRequest.Builderdestinations(Destination... destinations)One or more event data stores to which events arriving through a channel will be logged.CreateChannelRequest.Buildername(String name)The name of the channel.CreateChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateChannelRequest.Buildersource(String source)The name of the partner or external event source.CreateChannelRequest.Buildertags(Collection<Tag> tags)Sets the value of the Tags property for this object.CreateChannelRequest.Buildertags(Consumer<Tag.Builder>... tags)Sets the value of the Tags property for this object.CreateChannelRequest.Buildertags(Tag... tags)Sets the value of the Tags property for this object.-
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
-
name
CreateChannelRequest.Builder name(String name)
The name of the channel.
- Parameters:
name- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
CreateChannelRequest.Builder source(String source)
The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source.
A source can be either
Customfor all valid non-Amazon Web Services events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.- Parameters:
source- The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source.A source can be either
Customfor all valid non-Amazon Web Services events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelRequest.Builder destinations(Collection<Destination> destinations)
One or more event data stores to which events arriving through a channel will be logged.
- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelRequest.Builder destinations(Destination... destinations)
One or more event data stores to which events arriving through a channel will be logged.
- Parameters:
destinations- One or more event data stores to which events arriving through a channel will be logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelRequest.Builder destinations(Consumer<Destination.Builder>... destinations)
One or more event data stores to which events arriving through a channel will be logged.
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)
-
tags
CreateChannelRequest.Builder tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateChannelRequest.Builder tags(Tag... tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-