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

com.pulumi.azurenative.media.inputs.PresentationTimeRangeArgs 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.Boolean;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The presentation time range, this is asset related and not recommended for Account Filter.
 * 
 */
public final class PresentationTimeRangeArgs extends com.pulumi.resources.ResourceArgs {

    public static final PresentationTimeRangeArgs Empty = new PresentationTimeRangeArgs();

    /**
     * The absolute end time boundary.
     * 
     */
    @Import(name="endTimestamp")
    private @Nullable Output endTimestamp;

    /**
     * @return The absolute end time boundary.
     * 
     */
    public Optional> endTimestamp() {
        return Optional.ofNullable(this.endTimestamp);
    }

    /**
     * The indicator of forcing existing of end time stamp.
     * 
     */
    @Import(name="forceEndTimestamp")
    private @Nullable Output forceEndTimestamp;

    /**
     * @return The indicator of forcing existing of end time stamp.
     * 
     */
    public Optional> forceEndTimestamp() {
        return Optional.ofNullable(this.forceEndTimestamp);
    }

    /**
     * The relative to end right edge.
     * 
     */
    @Import(name="liveBackoffDuration")
    private @Nullable Output liveBackoffDuration;

    /**
     * @return The relative to end right edge.
     * 
     */
    public Optional> liveBackoffDuration() {
        return Optional.ofNullable(this.liveBackoffDuration);
    }

    /**
     * The relative to end sliding window.
     * 
     */
    @Import(name="presentationWindowDuration")
    private @Nullable Output presentationWindowDuration;

    /**
     * @return The relative to end sliding window.
     * 
     */
    public Optional> presentationWindowDuration() {
        return Optional.ofNullable(this.presentationWindowDuration);
    }

    /**
     * The absolute start time boundary.
     * 
     */
    @Import(name="startTimestamp")
    private @Nullable Output startTimestamp;

    /**
     * @return The absolute start time boundary.
     * 
     */
    public Optional> startTimestamp() {
        return Optional.ofNullable(this.startTimestamp);
    }

    /**
     * The time scale of time stamps.
     * 
     */
    @Import(name="timescale")
    private @Nullable Output timescale;

    /**
     * @return The time scale of time stamps.
     * 
     */
    public Optional> timescale() {
        return Optional.ofNullable(this.timescale);
    }

    private PresentationTimeRangeArgs() {}

    private PresentationTimeRangeArgs(PresentationTimeRangeArgs $) {
        this.endTimestamp = $.endTimestamp;
        this.forceEndTimestamp = $.forceEndTimestamp;
        this.liveBackoffDuration = $.liveBackoffDuration;
        this.presentationWindowDuration = $.presentationWindowDuration;
        this.startTimestamp = $.startTimestamp;
        this.timescale = $.timescale;
    }

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

    public static final class Builder {
        private PresentationTimeRangeArgs $;

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

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

        /**
         * @param endTimestamp The absolute end time boundary.
         * 
         * @return builder
         * 
         */
        public Builder endTimestamp(@Nullable Output endTimestamp) {
            $.endTimestamp = endTimestamp;
            return this;
        }

        /**
         * @param endTimestamp The absolute end time boundary.
         * 
         * @return builder
         * 
         */
        public Builder endTimestamp(Double endTimestamp) {
            return endTimestamp(Output.of(endTimestamp));
        }

        /**
         * @param forceEndTimestamp The indicator of forcing existing of end time stamp.
         * 
         * @return builder
         * 
         */
        public Builder forceEndTimestamp(@Nullable Output forceEndTimestamp) {
            $.forceEndTimestamp = forceEndTimestamp;
            return this;
        }

        /**
         * @param forceEndTimestamp The indicator of forcing existing of end time stamp.
         * 
         * @return builder
         * 
         */
        public Builder forceEndTimestamp(Boolean forceEndTimestamp) {
            return forceEndTimestamp(Output.of(forceEndTimestamp));
        }

        /**
         * @param liveBackoffDuration The relative to end right edge.
         * 
         * @return builder
         * 
         */
        public Builder liveBackoffDuration(@Nullable Output liveBackoffDuration) {
            $.liveBackoffDuration = liveBackoffDuration;
            return this;
        }

        /**
         * @param liveBackoffDuration The relative to end right edge.
         * 
         * @return builder
         * 
         */
        public Builder liveBackoffDuration(Double liveBackoffDuration) {
            return liveBackoffDuration(Output.of(liveBackoffDuration));
        }

        /**
         * @param presentationWindowDuration The relative to end sliding window.
         * 
         * @return builder
         * 
         */
        public Builder presentationWindowDuration(@Nullable Output presentationWindowDuration) {
            $.presentationWindowDuration = presentationWindowDuration;
            return this;
        }

        /**
         * @param presentationWindowDuration The relative to end sliding window.
         * 
         * @return builder
         * 
         */
        public Builder presentationWindowDuration(Double presentationWindowDuration) {
            return presentationWindowDuration(Output.of(presentationWindowDuration));
        }

        /**
         * @param startTimestamp The absolute start time boundary.
         * 
         * @return builder
         * 
         */
        public Builder startTimestamp(@Nullable Output startTimestamp) {
            $.startTimestamp = startTimestamp;
            return this;
        }

        /**
         * @param startTimestamp The absolute start time boundary.
         * 
         * @return builder
         * 
         */
        public Builder startTimestamp(Double startTimestamp) {
            return startTimestamp(Output.of(startTimestamp));
        }

        /**
         * @param timescale The time scale of time stamps.
         * 
         * @return builder
         * 
         */
        public Builder timescale(@Nullable Output timescale) {
            $.timescale = timescale;
            return this;
        }

        /**
         * @param timescale The time scale of time stamps.
         * 
         * @return builder
         * 
         */
        public Builder timescale(Double timescale) {
            return timescale(Output.of(timescale));
        }

        public PresentationTimeRangeArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy