Interface SessionS3LoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionS3LoggingConfiguration.Builder,,SessionS3LoggingConfiguration> SdkBuilder<SessionS3LoggingConfiguration.Builder,,SessionS3LoggingConfiguration> SdkPojo
- Enclosing class:
SessionS3LoggingConfiguration
@Mutable
@NotThreadSafe
public static interface SessionS3LoggingConfiguration.Builder
extends SdkPojo, CopyableBuilder<SessionS3LoggingConfiguration.Builder,SessionS3LoggingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionWhether Amazon S3 logging is enabled for the session.encryptionKeyArn(String encryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key used to encrypt logs published to Amazon S3.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).The Amazon S3 destination URI where session logs are published.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 Amazon S3 logging is enabled for the session.
- Parameters:
enabled- Whether Amazon S3 logging is enabled for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logUri
The Amazon S3 destination URI where session logs are published.
- Parameters:
logUri- The Amazon S3 destination URI 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 logs published to Amazon S3.
- Parameters:
encryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key used to encrypt logs published to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-