Interface CloudWatchLogConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogConfiguration.Builder,,CloudWatchLogConfiguration> SdkBuilder<CloudWatchLogConfiguration.Builder,,CloudWatchLogConfiguration> SdkPojo
- Enclosing class:
CloudWatchLogConfiguration
@Mutable
@NotThreadSafe
public static interface CloudWatchLogConfiguration.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogConfiguration.Builder,CloudWatchLogConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies if CloudWatch logging is enabled.encryptionKeyArn(String encryptionKeyArn) The ARN of the encryption key used to encrypt the logs.logGroupName(String logGroupName) The name of the CloudWatch log group where logs are published.logStreamNamePrefix(String logStreamNamePrefix) The prefix of the log stream name.logTypes(Map<String, ? extends Collection<String>> logTypes) A map of log types to file names for publishing logs to the standard output or standard error streams for 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
Specifies if CloudWatch logging is enabled.
- Parameters:
enabled- Specifies if CloudWatch logging is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupName
The name of the CloudWatch log group where logs are published.
- Parameters:
logGroupName- The name of the CloudWatch log group where logs are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamNamePrefix
The prefix of the log stream name.
- Parameters:
logStreamNamePrefix- The prefix of the log stream name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The ARN of the encryption key used to encrypt the logs.
- Parameters:
encryptionKeyArn- The ARN of the encryption key used to encrypt the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTypes
A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.
- Parameters:
logTypes- A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-