Class CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty>
- Enclosing interface:
CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty
@Stability(Stable)
public static final class CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadsInteractionLog(CfnPlaybackConfigurationPropsMixin.AdsInteractionLogProperty adsInteractionLog) adsInteractionLog(IResolvable adsInteractionLog) build()Builds the configured instance.enabledLoggingStrategies(List<String> enabledLoggingStrategies) manifestServiceInteractionLog(CfnPlaybackConfigurationPropsMixin.ManifestServiceInteractionLogProperty manifestServiceInteractionLog) manifestServiceInteractionLog(IResolvable manifestServiceInteractionLog) percentEnabled(Number percentEnabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adsInteractionLog
@Stability(Stable) public CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder adsInteractionLog(IResolvable adsInteractionLog) Sets the value ofCfnPlaybackConfigurationPropsMixin.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 CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder adsInteractionLog(CfnPlaybackConfigurationPropsMixin.AdsInteractionLogProperty adsInteractionLog) Sets the value ofCfnPlaybackConfigurationPropsMixin.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 CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder enabledLoggingStrategies(List<String> enabledLoggingStrategies) Sets the value ofCfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.getEnabledLoggingStrategies()- Parameters:
enabledLoggingStrategies- The method used for collecting logs from AWS Elemental MediaTailor.LEGACY_CLOUDWATCHindicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs.VENDED_LOGSindicates 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 CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder manifestServiceInteractionLog(IResolvable manifestServiceInteractionLog) Sets the value ofCfnPlaybackConfigurationPropsMixin.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 CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder manifestServiceInteractionLog(CfnPlaybackConfigurationPropsMixin.ManifestServiceInteractionLogProperty manifestServiceInteractionLog) Sets the value ofCfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.getManifestServiceInteractionLog()- Parameters:
manifestServiceInteractionLog- Settings for customizing what events are included in logs for interactions with the origin server.- Returns:
this
-
percentEnabled
@Stability(Stable) public CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty.Builder percentEnabled(Number percentEnabled) - Parameters:
percentEnabled- The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions andpercentEnabledis 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty>- Returns:
- a new instance of
CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-