Interface CreateChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<CreateChannelResponse.Builder,,CreateChannelResponse> SdkBuilder<CreateChannelResponse.Builder,,CreateChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateChannelResponse
@Mutable
@NotThreadSafe
public static interface CreateChannelResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The Amazon Resource Name (ARN) of the new channel.destinations(Collection<Destination> destinations) The event data stores that log the events arriving through the channel.destinations(Consumer<Destination.Builder>... destinations) The event data stores that log the events arriving through the channel.destinations(Destination... destinations) The event data stores that log the events arriving through the channel.The name of the new channel.The partner or external event source name.tags(Collection<Tag> tags) Sets the value of the Tags property for this object.tags(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
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 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:
-
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
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
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 totags(List<Tag>).- 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:
-