Class AvailBlanking.Builder

java.lang.Object
software.amazon.awscdk.services.medialive.alpha.AvailBlanking.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<AvailBlanking>
Enclosing interface:
AvailBlanking

@Stability(Experimental) public static final class AvailBlanking.Builder extends Object implements software.amazon.jsii.Builder<AvailBlanking>
A builder for AvailBlanking
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • image

      @Stability(Experimental) public AvailBlanking.Builder image(FileLocation image)
      Sets the value of AvailBlanking.getImage()
      Parameters:
      image - A blanking image to display during ad avails. Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Only .bmp and .png images are supported. If not set, solid black is used.
      Returns:
      this
    • state

      @Stability(Experimental) public AvailBlanking.Builder state(AvailBlankingState state)
      Sets the value of AvailBlanking.getState()
      Parameters:
      state - Whether to blank the output during ad avails.
      Returns:
      this
    • build

      @Stability(Experimental) public AvailBlanking build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<AvailBlanking>
      Returns:
      a new instance of AvailBlanking
      Throws:
      NullPointerException - if any required attribute was not provided