Interface CloudWatchLoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLoggingConfiguration.Builder,,CloudWatchLoggingConfiguration> SdkBuilder<CloudWatchLoggingConfiguration.Builder,,CloudWatchLoggingConfiguration> SdkPojo
- Enclosing class:
CloudWatchLoggingConfiguration
@Mutable
@NotThreadSafe
public static interface CloudWatchLoggingConfiguration.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLoggingConfiguration.Builder,CloudWatchLoggingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionEnables CloudWatch logging.The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.logStreamNamePrefix(String logStreamNamePrefix) Prefix for the CloudWatch log stream name.logTypes(Map<String, ? extends Collection<String>> logTypes) The types of logs that you want to publish to CloudWatch.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
-
enabled
Enables CloudWatch logging.
- Parameters:
enabled- Enables CloudWatch logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroup
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
- Parameters:
logGroup- The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamNamePrefix
Prefix for the CloudWatch log stream name.
- Parameters:
logStreamNamePrefix- Prefix for the CloudWatch log stream name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTypes
The types of logs that you want to publish to CloudWatch.
- Parameters:
logTypes- The types of logs that you want to publish to CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-