Interface LogConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogConfiguration.Builder,
,LogConfiguration> SdkBuilder<LogConfiguration.Builder,
,LogConfiguration> SdkPojo
- Enclosing class:
LogConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogConfiguration.Builder
adsInteractionLog
(Consumer<AdsInteractionLog.Builder> adsInteractionLog) Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).adsInteractionLog
(AdsInteractionLog adsInteractionLog) Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).enabledLoggingStrategies
(Collection<LoggingStrategy> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.enabledLoggingStrategies
(LoggingStrategy... enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.enabledLoggingStrategiesWithStrings
(String... enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.enabledLoggingStrategiesWithStrings
(Collection<String> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.default LogConfiguration.Builder
manifestServiceInteractionLog
(Consumer<ManifestServiceInteractionLog.Builder> manifestServiceInteractionLog) Settings for customizing what events are included in logs for interactions with the origin server.manifestServiceInteractionLog
(ManifestServiceInteractionLog manifestServiceInteractionLog) Settings for customizing what events are included in logs for interactions with the origin server.percentEnabled
(Integer percentEnabled) The percentage of session logs that MediaTailor sends to your configured log destination.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 Details
-
percentEnabled
The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions and
percentEnabled
is set to60
, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.Valid values:
0
-100
- Parameters:
percentEnabled
- The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions andpercentEnabled
is set to60
, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.Valid values:
0
-100
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategiesWithStrings
LogConfiguration.Builder enabledLoggingStrategiesWithStrings(Collection<String> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.
LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor.LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategiesWithStrings
The method used for collecting logs from AWS Elemental MediaTailor.
LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor.LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategies
LogConfiguration.Builder enabledLoggingStrategies(Collection<LoggingStrategy> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor.
LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor.LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategies
The method used for collecting logs from AWS Elemental MediaTailor.
LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor.LEGACY_CLOUDWATCH
indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGS
indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adsInteractionLog
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
- Parameters:
adsInteractionLog
- Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adsInteractionLog
default LogConfiguration.Builder adsInteractionLog(Consumer<AdsInteractionLog.Builder> adsInteractionLog) Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
This is a convenience method that creates an instance of theAdsInteractionLog.Builder
avoiding the need to create one manually viaAdsInteractionLog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadsInteractionLog(AdsInteractionLog)
.- Parameters:
adsInteractionLog
- a consumer that will call methods onAdsInteractionLog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
manifestServiceInteractionLog
LogConfiguration.Builder manifestServiceInteractionLog(ManifestServiceInteractionLog manifestServiceInteractionLog) Settings for customizing what events are included in logs for interactions with the origin server.
- Parameters:
manifestServiceInteractionLog
- Settings for customizing what events are included in logs for interactions with the origin server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifestServiceInteractionLog
default LogConfiguration.Builder manifestServiceInteractionLog(Consumer<ManifestServiceInteractionLog.Builder> manifestServiceInteractionLog) Settings for customizing what events are included in logs for interactions with the origin server.
This is a convenience method that creates an instance of theManifestServiceInteractionLog.Builder
avoiding the need to create one manually viaManifestServiceInteractionLog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanifestServiceInteractionLog(ManifestServiceInteractionLog)
.- Parameters:
manifestServiceInteractionLog
- a consumer that will call methods onManifestServiceInteractionLog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-