Interface ConfigureLogsForPlaybackConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ConfigureLogsForPlaybackConfigurationRequest.Builder,
,ConfigureLogsForPlaybackConfigurationRequest> MediaTailorRequest.Builder
,SdkBuilder<ConfigureLogsForPlaybackConfigurationRequest.Builder,
,ConfigureLogsForPlaybackConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ConfigureLogsForPlaybackConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionadsInteractionLog
(Consumer<AdsInteractionLog.Builder> adsInteractionLog) The event types that MediaTailor emits in logs for interactions with the ADS.adsInteractionLog
(AdsInteractionLog adsInteractionLog) The event types that MediaTailor emits in logs for interactions with the 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.manifestServiceInteractionLog
(Consumer<ManifestServiceInteractionLog.Builder> manifestServiceInteractionLog) The event types that MediaTailor emits in logs for interactions with the origin server.manifestServiceInteractionLog
(ManifestServiceInteractionLog manifestServiceInteractionLog) The event types that MediaTailor emits in logs for interactions with the origin server.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.percentEnabled
(Integer percentEnabled) The percentage of session logs that MediaTailor sends to your CloudWatch Logs account.playbackConfigurationName
(String playbackConfigurationName) The name of the playback configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
build
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 CloudWatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to
60
, 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 CloudWatch Logs account. 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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackConfigurationName
ConfigureLogsForPlaybackConfigurationRequest.Builder playbackConfigurationName(String playbackConfigurationName) The name of the playback configuration.
- Parameters:
playbackConfigurationName
- The name of the playback configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategiesWithStrings
ConfigureLogsForPlaybackConfigurationRequest.Builder enabledLoggingStrategiesWithStrings(Collection<String> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose
LEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, chooseLEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategiesWithStrings
ConfigureLogsForPlaybackConfigurationRequest.Builder enabledLoggingStrategiesWithStrings(String... enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose
LEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, chooseLEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategies
ConfigureLogsForPlaybackConfigurationRequest.Builder enabledLoggingStrategies(Collection<LoggingStrategy> enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose
LEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, chooseLEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledLoggingStrategies
ConfigureLogsForPlaybackConfigurationRequest.Builder enabledLoggingStrategies(LoggingStrategy... enabledLoggingStrategies) The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose
LEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Parameters:
enabledLoggingStrategies
- The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, chooseLEGACY_CLOUDWATCH
. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, chooseVENDED_LOGS
. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adsInteractionLog
ConfigureLogsForPlaybackConfigurationRequest.Builder adsInteractionLog(AdsInteractionLog adsInteractionLog) The event types that MediaTailor emits in logs for interactions with the ADS.
- Parameters:
adsInteractionLog
- The event types that MediaTailor emits in logs for interactions with the ADS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adsInteractionLog
default ConfigureLogsForPlaybackConfigurationRequest.Builder adsInteractionLog(Consumer<AdsInteractionLog.Builder> adsInteractionLog) The event types that MediaTailor emits in logs for interactions with the 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
ConfigureLogsForPlaybackConfigurationRequest.Builder manifestServiceInteractionLog(ManifestServiceInteractionLog manifestServiceInteractionLog) The event types that MediaTailor emits in logs for interactions with the origin server.
- Parameters:
manifestServiceInteractionLog
- The event types that MediaTailor emits 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 ConfigureLogsForPlaybackConfigurationRequest.Builder manifestServiceInteractionLog(Consumer<ManifestServiceInteractionLog.Builder> manifestServiceInteractionLog) The event types that MediaTailor emits 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:
-
overrideConfiguration
ConfigureLogsForPlaybackConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ConfigureLogsForPlaybackConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-