All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.medialive.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings {
    /**
     * @return The ad marker type for this output group.
     * 
     */
    private @Nullable List adMarkers;
    /**
     * @return Authentication scheme to use when connecting with CDN.
     * 
     */
    private @Nullable String authenticationScheme;
    /**
     * @return Controls behavior when content cache fills up.
     * 
     */
    private @Nullable String cacheFullBehavior;
    /**
     * @return Cache length in seconds, is used to calculate buffer size.
     * 
     */
    private @Nullable Integer cacheLength;
    /**
     * @return Controls the types of data that passes to onCaptionInfo outputs.
     * 
     */
    private @Nullable String captionData;
    /**
     * @return Controls the behavior of the RTMP group if input becomes unavailable.
     * 
     */
    private @Nullable String inputLossAction;
    /**
     * @return Number of seconds to wait until a restart is initiated.
     * 
     */
    private @Nullable Integer restartDelay;

    private ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings() {}
    /**
     * @return The ad marker type for this output group.
     * 
     */
    public List adMarkers() {
        return this.adMarkers == null ? List.of() : this.adMarkers;
    }
    /**
     * @return Authentication scheme to use when connecting with CDN.
     * 
     */
    public Optional authenticationScheme() {
        return Optional.ofNullable(this.authenticationScheme);
    }
    /**
     * @return Controls behavior when content cache fills up.
     * 
     */
    public Optional cacheFullBehavior() {
        return Optional.ofNullable(this.cacheFullBehavior);
    }
    /**
     * @return Cache length in seconds, is used to calculate buffer size.
     * 
     */
    public Optional cacheLength() {
        return Optional.ofNullable(this.cacheLength);
    }
    /**
     * @return Controls the types of data that passes to onCaptionInfo outputs.
     * 
     */
    public Optional captionData() {
        return Optional.ofNullable(this.captionData);
    }
    /**
     * @return Controls the behavior of the RTMP group if input becomes unavailable.
     * 
     */
    public Optional inputLossAction() {
        return Optional.ofNullable(this.inputLossAction);
    }
    /**
     * @return Number of seconds to wait until a restart is initiated.
     * 
     */
    public Optional restartDelay() {
        return Optional.ofNullable(this.restartDelay);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List adMarkers;
        private @Nullable String authenticationScheme;
        private @Nullable String cacheFullBehavior;
        private @Nullable Integer cacheLength;
        private @Nullable String captionData;
        private @Nullable String inputLossAction;
        private @Nullable Integer restartDelay;
        public Builder() {}
        public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.adMarkers = defaults.adMarkers;
    	      this.authenticationScheme = defaults.authenticationScheme;
    	      this.cacheFullBehavior = defaults.cacheFullBehavior;
    	      this.cacheLength = defaults.cacheLength;
    	      this.captionData = defaults.captionData;
    	      this.inputLossAction = defaults.inputLossAction;
    	      this.restartDelay = defaults.restartDelay;
        }

        @CustomType.Setter
        public Builder adMarkers(@Nullable List adMarkers) {

            this.adMarkers = adMarkers;
            return this;
        }
        public Builder adMarkers(String... adMarkers) {
            return adMarkers(List.of(adMarkers));
        }
        @CustomType.Setter
        public Builder authenticationScheme(@Nullable String authenticationScheme) {

            this.authenticationScheme = authenticationScheme;
            return this;
        }
        @CustomType.Setter
        public Builder cacheFullBehavior(@Nullable String cacheFullBehavior) {

            this.cacheFullBehavior = cacheFullBehavior;
            return this;
        }
        @CustomType.Setter
        public Builder cacheLength(@Nullable Integer cacheLength) {

            this.cacheLength = cacheLength;
            return this;
        }
        @CustomType.Setter
        public Builder captionData(@Nullable String captionData) {

            this.captionData = captionData;
            return this;
        }
        @CustomType.Setter
        public Builder inputLossAction(@Nullable String inputLossAction) {

            this.inputLossAction = inputLossAction;
            return this;
        }
        @CustomType.Setter
        public Builder restartDelay(@Nullable Integer restartDelay) {

            this.restartDelay = restartDelay;
            return this;
        }
        public ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings build() {
            final var _resultValue = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettings();
            _resultValue.adMarkers = adMarkers;
            _resultValue.authenticationScheme = authenticationScheme;
            _resultValue.cacheFullBehavior = cacheFullBehavior;
            _resultValue.cacheLength = cacheLength;
            _resultValue.captionData = captionData;
            _resultValue.inputLossAction = inputLossAction;
            _resultValue.restartDelay = restartDelay;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy