Interface ChannelLoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelLoggingConfiguration.Builder,,ChannelLoggingConfiguration> SdkBuilder<ChannelLoggingConfiguration.Builder,,ChannelLoggingConfiguration> SdkPojo
- Enclosing class:
ChannelLoggingConfiguration
@Mutable
@NotThreadSafe
public static interface ChannelLoggingConfiguration.Builder
extends SdkPojo, CopyableBuilder<ChannelLoggingConfiguration.Builder,ChannelLoggingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogs(Consumer<CloudWatchLogs.Builder> cloudWatchLogs) The Amazon CloudWatch Logs settings for the channel.cloudWatchLogs(CloudWatchLogs cloudWatchLogs) The Amazon CloudWatch Logs settings for the channel.Methods 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, sdkFields
-
Method Details
-
cloudWatchLogs
The Amazon CloudWatch Logs settings for the channel.
- Parameters:
cloudWatchLogs- The Amazon CloudWatch Logs settings for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default ChannelLoggingConfiguration.Builder cloudWatchLogs(Consumer<CloudWatchLogs.Builder> cloudWatchLogs) The Amazon CloudWatch Logs settings for the channel.
This is a convenience method that creates an instance of theCloudWatchLogs.Builderavoiding the need to create one manually viaCloudWatchLogs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogs).- Parameters:
cloudWatchLogs- a consumer that will call methods onCloudWatchLogs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-