Interface CreateChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,SdkBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateChannelResponse
public static interface CreateChannelResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateChannelResponse.BuilderchannelArn(String channelArn)The Amazon Resource Name (ARN) of the new channel.CreateChannelResponse.Builderdestinations(Collection<Destination> destinations)The event data stores that log the events arriving through the channel.CreateChannelResponse.Builderdestinations(Consumer<Destination.Builder>... destinations)The event data stores that log the events arriving through the channel.CreateChannelResponse.Builderdestinations(Destination... destinations)The event data stores that log the events arriving through the channel.CreateChannelResponse.Buildername(String name)The name of the new channel.CreateChannelResponse.Buildersource(String source)The partner or external event source name.CreateChannelResponse.Buildertags(Collection<Tag> tags)Sets the value of the Tags property for this object.CreateChannelResponse.Buildertags(Consumer<Tag.Builder>... tags)Sets the value of the Tags property for this object.CreateChannelResponse.Buildertags(Tag... tags)Sets the value of the Tags property for this object.-
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
CreateChannelResponse.Builder channelArn(String channelArn)
The Amazon Resource Name (ARN) of the new channel.
- Parameters:
channelArn- The Amazon Resource Name (ARN) of the new channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateChannelResponse.Builder name(String name)
The name of the new channel.
- Parameters:
name- The name of the new channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
CreateChannelResponse.Builder source(String source)
The partner or external event source name.
- Parameters:
source- The partner or external event source name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelResponse.Builder destinations(Collection<Destination> destinations)
The event data stores that log the events arriving through the channel.
- Parameters:
destinations- The event data stores that log the events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelResponse.Builder destinations(Destination... destinations)
The event data stores that log the events arriving through the channel.
- Parameters:
destinations- The event data stores that log the events arriving through the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
CreateChannelResponse.Builder destinations(Consumer<Destination.Builder>... destinations)
The event data stores that log the 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)
-
tags
CreateChannelResponse.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
CreateChannelResponse.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
CreateChannelResponse.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)
-
-