Interface Logging.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Logging.Builder,,Logging> SdkBuilder<Logging.Builder,,Logging> SdkPojo
- Enclosing class:
Logging
@Mutable
@NotThreadSafe
public static interface Logging.Builder
extends SdkPojo, CopyableBuilder<Logging.Builder,Logging>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Logging.BuildercloudWatch(Consumer<CloudWatchLogging.Builder> cloudWatch) Configuration for sending logs to Amazon CloudWatch Logs.cloudWatch(CloudWatchLogging cloudWatch) Configuration for sending logs to Amazon CloudWatch Logs.default Logging.Builderdisabled(Consumer<LoggingDisabled.Builder> disabled) Specifies that logging is disabled.disabled(LoggingDisabled disabled) Specifies that logging is disabled.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
-
disabled
Specifies that logging is disabled.
- Parameters:
disabled- Specifies that logging is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabled
Specifies that logging is disabled.
This is a convenience method that creates an instance of theLoggingDisabled.Builderavoiding the need to create one manually viaLoggingDisabled.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisabled(LoggingDisabled).- Parameters:
disabled- a consumer that will call methods onLoggingDisabled.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatch
Configuration for sending logs to Amazon CloudWatch Logs.
- Parameters:
cloudWatch- Configuration for sending logs to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatch
Configuration for sending logs to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theCloudWatchLogging.Builderavoiding the need to create one manually viaCloudWatchLogging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatch(CloudWatchLogging).- Parameters:
cloudWatch- a consumer that will call methods onCloudWatchLogging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-