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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudWatchLogConfiguration.Builderenabled(Boolean enabled)Specifies if CloudWatch logging is enabled.CloudWatchLogConfiguration.BuilderencryptionKeyArn(String encryptionKeyArn)The ARN of the encryption key used to encrypt the logs.CloudWatchLogConfiguration.BuilderlogGroupName(String logGroupName)The name of the CloudWatch log group where logs are published.CloudWatchLogConfiguration.BuilderlogStreamNamePrefix(String logStreamNamePrefix)The prefix of the log stream name.CloudWatchLogConfiguration.BuilderlogTypes(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enabled
CloudWatchLogConfiguration.Builder enabled(Boolean 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
CloudWatchLogConfiguration.Builder logGroupName(String 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
CloudWatchLogConfiguration.Builder logStreamNamePrefix(String 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
CloudWatchLogConfiguration.Builder encryptionKeyArn(String 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
CloudWatchLogConfiguration.Builder 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. 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.
-
-