Class CfnPlaybackConfiguration.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfiguration.LogConfigurationProperty>
- Enclosing interface:
CfnPlaybackConfiguration.LogConfigurationProperty
@Stability(Stable)
public static final class CfnPlaybackConfiguration.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfiguration.LogConfigurationProperty>
A builder for
CfnPlaybackConfiguration.LogConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadsInteractionLog
(IResolvable adsInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getAdsInteractionLog()
adsInteractionLog
(CfnPlaybackConfiguration.AdsInteractionLogProperty adsInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getAdsInteractionLog()
build()
Builds the configured instance.enabledLoggingStrategies
(List<String> enabledLoggingStrategies) manifestServiceInteractionLog
(IResolvable manifestServiceInteractionLog) manifestServiceInteractionLog
(CfnPlaybackConfiguration.ManifestServiceInteractionLogProperty manifestServiceInteractionLog) percentEnabled
(Number percentEnabled) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getPercentEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
percentEnabled
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder percentEnabled(Number percentEnabled) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getPercentEnabled()
- Parameters:
percentEnabled
- The percentage of session logs that MediaTailor sends to your configured log destination. This parameter is required. 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:
this
-
adsInteractionLog
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder adsInteractionLog(IResolvable adsInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getAdsInteractionLog()
- Parameters:
adsInteractionLog
- Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).- Returns:
this
-
adsInteractionLog
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder adsInteractionLog(CfnPlaybackConfiguration.AdsInteractionLogProperty adsInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getAdsInteractionLog()
- Parameters:
adsInteractionLog
- Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).- Returns:
this
-
enabledLoggingStrategies
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder enabledLoggingStrategies(List<String> enabledLoggingStrategies) - 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:
this
-
manifestServiceInteractionLog
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder manifestServiceInteractionLog(IResolvable manifestServiceInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getManifestServiceInteractionLog()
- Parameters:
manifestServiceInteractionLog
- Settings for customizing what events are included in logs for interactions with the origin server.- Returns:
this
-
manifestServiceInteractionLog
@Stability(Stable) public CfnPlaybackConfiguration.LogConfigurationProperty.Builder manifestServiceInteractionLog(CfnPlaybackConfiguration.ManifestServiceInteractionLogProperty manifestServiceInteractionLog) Sets the value ofCfnPlaybackConfiguration.LogConfigurationProperty.getManifestServiceInteractionLog()
- Parameters:
manifestServiceInteractionLog
- Settings for customizing what events are included in logs for interactions with the origin server.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfiguration.LogConfigurationProperty>
- Returns:
- a new instance of
CfnPlaybackConfiguration.LogConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-