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

com.pulumi.azurenative.media.inputs.AbsoluteClipTimeArgs 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.media.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Specifies the clip time as an absolute time position in the media file.  The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not.
 * 
 */
public final class AbsoluteClipTimeArgs extends com.pulumi.resources.ResourceArgs {

    public static final AbsoluteClipTimeArgs Empty = new AbsoluteClipTimeArgs();

    /**
     * The discriminator for derived types.
     * Expected value is '#Microsoft.Media.AbsoluteClipTime'.
     * 
     */
    @Import(name="odataType", required=true)
    private Output odataType;

    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.AbsoluteClipTime'.
     * 
     */
    public Output odataType() {
        return this.odataType;
    }

    /**
     * The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
     * 
     */
    @Import(name="time", required=true)
    private Output time;

    /**
     * @return The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
     * 
     */
    public Output time() {
        return this.time;
    }

    private AbsoluteClipTimeArgs() {}

    private AbsoluteClipTimeArgs(AbsoluteClipTimeArgs $) {
        this.odataType = $.odataType;
        this.time = $.time;
    }

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

    public static final class Builder {
        private AbsoluteClipTimeArgs $;

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

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

        /**
         * @param odataType The discriminator for derived types.
         * Expected value is '#Microsoft.Media.AbsoluteClipTime'.
         * 
         * @return builder
         * 
         */
        public Builder odataType(Output odataType) {
            $.odataType = odataType;
            return this;
        }

        /**
         * @param odataType The discriminator for derived types.
         * Expected value is '#Microsoft.Media.AbsoluteClipTime'.
         * 
         * @return builder
         * 
         */
        public Builder odataType(String odataType) {
            return odataType(Output.of(odataType));
        }

        /**
         * @param time The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
         * 
         * @return builder
         * 
         */
        public Builder time(Output time) {
            $.time = time;
            return this;
        }

        /**
         * @param time The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
         * 
         * @return builder
         * 
         */
        public Builder time(String time) {
            return time(Output.of(time));
        }

        public AbsoluteClipTimeArgs build() {
            $.odataType = Codegen.stringProp("odataType").output().arg($.odataType).require();
            if ($.time == null) {
                throw new MissingRequiredPropertyException("AbsoluteClipTimeArgs", "time");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy