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

com.pulumi.azurenative.videoanalyzer.VideoArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.videoanalyzer.inputs.VideoArchivalArgs;
import com.pulumi.azurenative.videoanalyzer.inputs.VideoMediaInfoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VideoArgs extends com.pulumi.resources.ResourceArgs {

    public static final VideoArgs Empty = new VideoArgs();

    /**
     * The Azure Video Analyzer account name.
     * 
     */
    @Import(name="accountName", required=true)
    private Output accountName;

    /**
     * @return The Azure Video Analyzer account name.
     * 
     */
    public Output accountName() {
        return this.accountName;
    }

    /**
     * Video archival properties.
     * 
     */
    @Import(name="archival")
    private @Nullable Output archival;

    /**
     * @return Video archival properties.
     * 
     */
    public Optional> archival() {
        return Optional.ofNullable(this.archival);
    }

    /**
     * Optional video description provided by the user. Value can be up to 2048 characters long.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Optional video description provided by the user. Value can be up to 2048 characters long.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Contains information about the video and audio content.
     * 
     */
    @Import(name="mediaInfo")
    private @Nullable Output mediaInfo;

    /**
     * @return Contains information about the video and audio content.
     * 
     */
    public Optional> mediaInfo() {
        return Optional.ofNullable(this.mediaInfo);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Optional video title provided by the user. Value can be up to 256 characters long.
     * 
     */
    @Import(name="title")
    private @Nullable Output title;

    /**
     * @return Optional video title provided by the user. Value can be up to 256 characters long.
     * 
     */
    public Optional> title() {
        return Optional.ofNullable(this.title);
    }

    /**
     * The Video name.
     * 
     */
    @Import(name="videoName")
    private @Nullable Output videoName;

    /**
     * @return The Video name.
     * 
     */
    public Optional> videoName() {
        return Optional.ofNullable(this.videoName);
    }

    private VideoArgs() {}

    private VideoArgs(VideoArgs $) {
        this.accountName = $.accountName;
        this.archival = $.archival;
        this.description = $.description;
        this.mediaInfo = $.mediaInfo;
        this.resourceGroupName = $.resourceGroupName;
        this.title = $.title;
        this.videoName = $.videoName;
    }

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

    public static final class Builder {
        private VideoArgs $;

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

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

        /**
         * @param accountName The Azure Video Analyzer account name.
         * 
         * @return builder
         * 
         */
        public Builder accountName(Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The Azure Video Analyzer account name.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param archival Video archival properties.
         * 
         * @return builder
         * 
         */
        public Builder archival(@Nullable Output archival) {
            $.archival = archival;
            return this;
        }

        /**
         * @param archival Video archival properties.
         * 
         * @return builder
         * 
         */
        public Builder archival(VideoArchivalArgs archival) {
            return archival(Output.of(archival));
        }

        /**
         * @param description Optional video description provided by the user. Value can be up to 2048 characters long.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Optional video description provided by the user. Value can be up to 2048 characters long.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param mediaInfo Contains information about the video and audio content.
         * 
         * @return builder
         * 
         */
        public Builder mediaInfo(@Nullable Output mediaInfo) {
            $.mediaInfo = mediaInfo;
            return this;
        }

        /**
         * @param mediaInfo Contains information about the video and audio content.
         * 
         * @return builder
         * 
         */
        public Builder mediaInfo(VideoMediaInfoArgs mediaInfo) {
            return mediaInfo(Output.of(mediaInfo));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param title Optional video title provided by the user. Value can be up to 256 characters long.
         * 
         * @return builder
         * 
         */
        public Builder title(@Nullable Output title) {
            $.title = title;
            return this;
        }

        /**
         * @param title Optional video title provided by the user. Value can be up to 256 characters long.
         * 
         * @return builder
         * 
         */
        public Builder title(String title) {
            return title(Output.of(title));
        }

        /**
         * @param videoName The Video name.
         * 
         * @return builder
         * 
         */
        public Builder videoName(@Nullable Output videoName) {
            $.videoName = videoName;
            return this;
        }

        /**
         * @param videoName The Video name.
         * 
         * @return builder
         * 
         */
        public Builder videoName(String videoName) {
            return videoName(Output.of(videoName));
        }

        public VideoArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("VideoArgs", "accountName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("VideoArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy