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

com.pulumi.azurenative.videoanalyzer.inputs.VideoMediaInfoArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.videoanalyzer.inputs;

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


/**
 * Contains information about the video and audio content.
 * 
 */
public final class VideoMediaInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final VideoMediaInfoArgs Empty = new VideoMediaInfoArgs();

    /**
     * Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
     * 
     */
    @Import(name="segmentLength")
    private @Nullable Output segmentLength;

    /**
     * @return Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
     * 
     */
    public Optional> segmentLength() {
        return Optional.ofNullable(this.segmentLength);
    }

    private VideoMediaInfoArgs() {}

    private VideoMediaInfoArgs(VideoMediaInfoArgs $) {
        this.segmentLength = $.segmentLength;
    }

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

    public static final class Builder {
        private VideoMediaInfoArgs $;

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

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

        /**
         * @param segmentLength Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
         * 
         * @return builder
         * 
         */
        public Builder segmentLength(@Nullable Output segmentLength) {
            $.segmentLength = segmentLength;
            return this;
        }

        /**
         * @param segmentLength Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
         * 
         * @return builder
         * 
         */
        public Builder segmentLength(String segmentLength) {
            return segmentLength(Output.of(segmentLength));
        }

        public VideoMediaInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy