Interface ChannelLoggingUpdateInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelLoggingUpdateInput.Builder,,ChannelLoggingUpdateInput> SdkBuilder<ChannelLoggingUpdateInput.Builder,,ChannelLoggingUpdateInput> SdkPojo
- Enclosing class:
ChannelLoggingUpdateInput
@Mutable
@NotThreadSafe
public static interface ChannelLoggingUpdateInput.Builder
extends SdkPojo, CopyableBuilder<ChannelLoggingUpdateInput.Builder,ChannelLoggingUpdateInput>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogs(Consumer<CloudWatchLogsUpdateInput.Builder> cloudWatchLogs) The updated Amazon CloudWatch Logs settings, including whether logging is enabled and the target log group and log stream.cloudWatchLogs(CloudWatchLogsUpdateInput cloudWatchLogs) The updated Amazon CloudWatch Logs settings, including whether logging is enabled and the target log group and log stream.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 updated Amazon CloudWatch Logs settings, including whether logging is enabled and the target log group and log stream.
- Parameters:
cloudWatchLogs- The updated Amazon CloudWatch Logs settings, including whether logging is enabled and the target log group and log stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default ChannelLoggingUpdateInput.Builder cloudWatchLogs(Consumer<CloudWatchLogsUpdateInput.Builder> cloudWatchLogs) The updated Amazon CloudWatch Logs settings, including whether logging is enabled and the target log group and log stream.
This is a convenience method that creates an instance of theCloudWatchLogsUpdateInput.Builderavoiding the need to create one manually viaCloudWatchLogsUpdateInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogsUpdateInput).- Parameters:
cloudWatchLogs- a consumer that will call methods onCloudWatchLogsUpdateInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-