Interface GetPlaybackConfigurationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetPlaybackConfigurationResponse.Builder,GetPlaybackConfigurationResponse>, MediaTailorResponse.Builder, SdkBuilder<GetPlaybackConfigurationResponse.Builder,GetPlaybackConfigurationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetPlaybackConfigurationResponse

  • Method Details

    • adDecisionServerUrl

      GetPlaybackConfigurationResponse.Builder adDecisionServerUrl(String adDecisionServerUrl)

      The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

      Parameters:
      adDecisionServerUrl - The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availSuppression

      GetPlaybackConfigurationResponse.Builder availSuppression(AvailSuppression availSuppression)

      The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

      Parameters:
      availSuppression - The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availSuppression

      default GetPlaybackConfigurationResponse.Builder availSuppression(Consumer<AvailSuppression.Builder> availSuppression)

      The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

      This is a convenience method that creates an instance of the AvailSuppression.Builder avoiding the need to create one manually via AvailSuppression.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to availSuppression(AvailSuppression).

      Parameters:
      availSuppression - a consumer that will call methods on AvailSuppression.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • bumper

      The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

      Parameters:
      bumper - The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bumper

      The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

      This is a convenience method that creates an instance of the Bumper.Builder avoiding the need to create one manually via Bumper.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bumper(Bumper).

      Parameters:
      bumper - a consumer that will call methods on Bumper.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cdnConfiguration

      GetPlaybackConfigurationResponse.Builder cdnConfiguration(CdnConfiguration cdnConfiguration)

      The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

      Parameters:
      cdnConfiguration - The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cdnConfiguration

      default GetPlaybackConfigurationResponse.Builder cdnConfiguration(Consumer<CdnConfiguration.Builder> cdnConfiguration)

      The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

      This is a convenience method that creates an instance of the CdnConfiguration.Builder avoiding the need to create one manually via CdnConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cdnConfiguration(CdnConfiguration).

      Parameters:
      cdnConfiguration - a consumer that will call methods on CdnConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configurationAliases

      GetPlaybackConfigurationResponse.Builder configurationAliases(Map<String,? extends Map<String,String>> configurationAliases)

      The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

      Parameters:
      configurationAliases - The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dashConfiguration

      GetPlaybackConfigurationResponse.Builder dashConfiguration(DashConfiguration dashConfiguration)

      The configuration for DASH content.

      Parameters:
      dashConfiguration - The configuration for DASH content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dashConfiguration

      default GetPlaybackConfigurationResponse.Builder dashConfiguration(Consumer<DashConfiguration.Builder> dashConfiguration)

      The configuration for DASH content.

      This is a convenience method that creates an instance of the DashConfiguration.Builder avoiding the need to create one manually via DashConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dashConfiguration(DashConfiguration).

      Parameters:
      dashConfiguration - a consumer that will call methods on DashConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hlsConfiguration

      GetPlaybackConfigurationResponse.Builder hlsConfiguration(HlsConfiguration hlsConfiguration)

      The configuration for HLS content.

      Parameters:
      hlsConfiguration - The configuration for HLS content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hlsConfiguration

      default GetPlaybackConfigurationResponse.Builder hlsConfiguration(Consumer<HlsConfiguration.Builder> hlsConfiguration)

      The configuration for HLS content.

      This is a convenience method that creates an instance of the HlsConfiguration.Builder avoiding the need to create one manually via HlsConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hlsConfiguration(HlsConfiguration).

      Parameters:
      hlsConfiguration - a consumer that will call methods on HlsConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • insertionMode

      GetPlaybackConfigurationResponse.Builder insertionMode(String insertionMode)

      The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

      Parameters:
      insertionMode - The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • insertionMode

      The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

      Parameters:
      insertionMode - The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • livePreRollConfiguration

      GetPlaybackConfigurationResponse.Builder livePreRollConfiguration(LivePreRollConfiguration livePreRollConfiguration)

      The configuration for pre-roll ad insertion.

      Parameters:
      livePreRollConfiguration - The configuration for pre-roll ad insertion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • livePreRollConfiguration

      default GetPlaybackConfigurationResponse.Builder livePreRollConfiguration(Consumer<LivePreRollConfiguration.Builder> livePreRollConfiguration)

      The configuration for pre-roll ad insertion.

      This is a convenience method that creates an instance of the LivePreRollConfiguration.Builder avoiding the need to create one manually via LivePreRollConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to livePreRollConfiguration(LivePreRollConfiguration).

      Parameters:
      livePreRollConfiguration - a consumer that will call methods on LivePreRollConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logConfiguration

      GetPlaybackConfigurationResponse.Builder logConfiguration(LogConfiguration logConfiguration)

      The Amazon CloudWatch log settings for a playback configuration.

      Parameters:
      logConfiguration - The Amazon CloudWatch log settings for a playback configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfiguration

      default GetPlaybackConfigurationResponse.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)

      The Amazon CloudWatch log settings for a playback configuration.

      This is a convenience method that creates an instance of the LogConfiguration.Builder avoiding the need to create one manually via LogConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logConfiguration(LogConfiguration).

      Parameters:
      logConfiguration - a consumer that will call methods on LogConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • manifestProcessingRules

      GetPlaybackConfigurationResponse.Builder manifestProcessingRules(ManifestProcessingRules manifestProcessingRules)

      The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

      Parameters:
      manifestProcessingRules - The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifestProcessingRules

      default GetPlaybackConfigurationResponse.Builder manifestProcessingRules(Consumer<ManifestProcessingRules.Builder> manifestProcessingRules)

      The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

      This is a convenience method that creates an instance of the ManifestProcessingRules.Builder avoiding the need to create one manually via ManifestProcessingRules.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to manifestProcessingRules(ManifestProcessingRules).

      Parameters:
      manifestProcessingRules - a consumer that will call methods on ManifestProcessingRules.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The identifier for the playback configuration.

      Parameters:
      name - The identifier for the playback configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • personalizationThresholdSeconds

      GetPlaybackConfigurationResponse.Builder personalizationThresholdSeconds(Integer personalizationThresholdSeconds)

      Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

      Parameters:
      personalizationThresholdSeconds - Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playbackConfigurationArn

      GetPlaybackConfigurationResponse.Builder playbackConfigurationArn(String playbackConfigurationArn)

      The Amazon Resource Name (ARN) for the playback configuration.

      Parameters:
      playbackConfigurationArn - The Amazon Resource Name (ARN) for the playback configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playbackEndpointPrefix

      GetPlaybackConfigurationResponse.Builder playbackEndpointPrefix(String playbackEndpointPrefix)

      The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

      Parameters:
      playbackEndpointPrefix - The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionInitializationEndpointPrefix

      GetPlaybackConfigurationResponse.Builder sessionInitializationEndpointPrefix(String sessionInitializationEndpointPrefix)

      The URL that the player uses to initialize a session that uses client-side reporting.

      Parameters:
      sessionInitializationEndpointPrefix - The URL that the player uses to initialize a session that uses client-side reporting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slateAdUrl

      The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

      Parameters:
      slateAdUrl - The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

      Parameters:
      tags - The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transcodeProfileName

      GetPlaybackConfigurationResponse.Builder transcodeProfileName(String transcodeProfileName)

      The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

      Parameters:
      transcodeProfileName - The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • videoContentSourceUrl

      GetPlaybackConfigurationResponse.Builder videoContentSourceUrl(String videoContentSourceUrl)

      The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

      Parameters:
      videoContentSourceUrl - The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.