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

com.pulumi.azurenative.media.inputs.HlsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.media.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * HTTP Live Streaming (HLS) packing setting for the live output.
 * 
 */
public final class HlsArgs extends com.pulumi.resources.ResourceArgs {

    public static final HlsArgs Empty = new HlsArgs();

    /**
     * The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
     * 
     */
    @Import(name="fragmentsPerTsSegment")
    private @Nullable Output fragmentsPerTsSegment;

    /**
     * @return The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
     * 
     */
    public Optional> fragmentsPerTsSegment() {
        return Optional.ofNullable(this.fragmentsPerTsSegment);
    }

    private HlsArgs() {}

    private HlsArgs(HlsArgs $) {
        this.fragmentsPerTsSegment = $.fragmentsPerTsSegment;
    }

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

    public static final class Builder {
        private HlsArgs $;

        public Builder() {
            $ = new HlsArgs();
        }

        public Builder(HlsArgs defaults) {
            $ = new HlsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param fragmentsPerTsSegment The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
         * 
         * @return builder
         * 
         */
        public Builder fragmentsPerTsSegment(@Nullable Output fragmentsPerTsSegment) {
            $.fragmentsPerTsSegment = fragmentsPerTsSegment;
            return this;
        }

        /**
         * @param fragmentsPerTsSegment The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
         * 
         * @return builder
         * 
         */
        public Builder fragmentsPerTsSegment(Integer fragmentsPerTsSegment) {
            return fragmentsPerTsSegment(Output.of(fragmentsPerTsSegment));
        }

        public HlsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy