Interface S3LoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3LoggingConfiguration.Builder,,S3LoggingConfiguration> SdkBuilder<S3LoggingConfiguration.Builder,,S3LoggingConfiguration> SdkPojo
- Enclosing class:
S3LoggingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionlogTypeUploadPolicy(Map<LogType, LogUploadPolicyValue> logTypeUploadPolicy) A map that specifies the upload policy for each log type.logTypeUploadPolicyWithStrings(Map<String, String> logTypeUploadPolicy) A map that specifies the upload policy for each log type.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
-
logTypeUploadPolicyWithStrings
S3LoggingConfiguration.Builder logTypeUploadPolicyWithStrings(Map<String, String> logTypeUploadPolicy) A map that specifies the upload policy for each log type. The key is the log type, and the value is the upload policy.
Valid log types:
-
system-logs: System-level logs including daemon logs, bootstrap logs, and other infrastructure logs. -
application-logs: Application-level logs from frameworks like Hadoop, Spark, Hive, etc. -
persistent-ui-logs: Logs for persistent application UIs like Spark History Server.
Valid upload policies:
-
emr-managed: Logs are uploaded to both the EMR-managed S3 bucket and the customer-specified S3 bucket (if LogUri is provided). -
on-customer-s3only: Logs are uploaded only to the customer-specified S3 bucket. Requires LogUri to be specified in the cluster configuration. -
disabled: Log upload is disabled for this log type.
- Parameters:
logTypeUploadPolicy- A map that specifies the upload policy for each log type. The key is the log type, and the value is the upload policy.Valid log types:
-
system-logs: System-level logs including daemon logs, bootstrap logs, and other infrastructure logs. -
application-logs: Application-level logs from frameworks like Hadoop, Spark, Hive, etc. -
persistent-ui-logs: Logs for persistent application UIs like Spark History Server.
Valid upload policies:
-
emr-managed: Logs are uploaded to both the EMR-managed S3 bucket and the customer-specified S3 bucket (if LogUri is provided). -
on-customer-s3only: Logs are uploaded only to the customer-specified S3 bucket. Requires LogUri to be specified in the cluster configuration. -
disabled: Log upload is disabled for this log type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
logTypeUploadPolicy
S3LoggingConfiguration.Builder logTypeUploadPolicy(Map<LogType, LogUploadPolicyValue> logTypeUploadPolicy) A map that specifies the upload policy for each log type. The key is the log type, and the value is the upload policy.
Valid log types:
-
system-logs: System-level logs including daemon logs, bootstrap logs, and other infrastructure logs. -
application-logs: Application-level logs from frameworks like Hadoop, Spark, Hive, etc. -
persistent-ui-logs: Logs for persistent application UIs like Spark History Server.
Valid upload policies:
-
emr-managed: Logs are uploaded to both the EMR-managed S3 bucket and the customer-specified S3 bucket (if LogUri is provided). -
on-customer-s3only: Logs are uploaded only to the customer-specified S3 bucket. Requires LogUri to be specified in the cluster configuration. -
disabled: Log upload is disabled for this log type.
- Parameters:
logTypeUploadPolicy- A map that specifies the upload policy for each log type. The key is the log type, and the value is the upload policy.Valid log types:
-
system-logs: System-level logs including daemon logs, bootstrap logs, and other infrastructure logs. -
application-logs: Application-level logs from frameworks like Hadoop, Spark, Hive, etc. -
persistent-ui-logs: Logs for persistent application UIs like Spark History Server.
Valid upload policies:
-
emr-managed: Logs are uploaded to both the EMR-managed S3 bucket and the customer-specified S3 bucket (if LogUri is provided). -
on-customer-s3only: Logs are uploaded only to the customer-specified S3 bucket. Requires LogUri to be specified in the cluster configuration. -
disabled: Log upload is disabled for this log type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-