Interface SessionCloudWatchLoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionCloudWatchLoggingConfiguration.Builder,,SessionCloudWatchLoggingConfiguration> SdkBuilder<SessionCloudWatchLoggingConfiguration.Builder,,SessionCloudWatchLoggingConfiguration> SdkPojo
- Enclosing class:
SessionCloudWatchLoggingConfiguration
@Mutable
@NotThreadSafe
public static interface SessionCloudWatchLoggingConfiguration.Builder
extends SdkPojo, CopyableBuilder<SessionCloudWatchLoggingConfiguration.Builder,SessionCloudWatchLoggingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionWhether CloudWatch Logs is enabled for the session.encryptionKeyArn(String encryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.The name of the log group where session logs are published.logStreamNamePrefix(String logStreamNamePrefix) The prefix applied to the log stream name where session logs are published.logTypes(Map<String, ? extends Collection<String>> logTypes) A map of log component names (for example,SPARK_DRIVER,SPARK_EXECUTOR) to the list of log types to publish for that component (for example,stdout,stderr).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
Whether CloudWatch Logs is enabled for the session.
- Parameters:
enabled- Whether CloudWatch Logs is enabled for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroup
The name of the log group where session logs are published.
- Parameters:
logGroup- The name of the log group where session logs are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamNamePrefix
The prefix applied to the log stream name where session logs are published.
- Parameters:
logStreamNamePrefix- The prefix applied to the log stream name where session logs are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.
- Parameters:
encryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTypes
SessionCloudWatchLoggingConfiguration.Builder logTypes(Map<String, ? extends Collection<String>> logTypes) A map of log component names (for example,
SPARK_DRIVER,SPARK_EXECUTOR) to the list of log types to publish for that component (for example,stdout,stderr).- Parameters:
logTypes- A map of log component names (for example,SPARK_DRIVER,SPARK_EXECUTOR) to the list of log types to publish for that component (for example,stdout,stderr).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-