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

com.pulumi.azurenative.media.inputs.RectangleArgs 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes the properties of a rectangular window applied to the input media before processing it.
 * 
 */
public final class RectangleArgs extends com.pulumi.resources.ResourceArgs {

    public static final RectangleArgs Empty = new RectangleArgs();

    /**
     * The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    @Import(name="height")
    private @Nullable Output height;

    /**
     * @return The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    public Optional> height() {
        return Optional.ofNullable(this.height);
    }

    /**
     * The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    @Import(name="left")
    private @Nullable Output left;

    /**
     * @return The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    public Optional> left() {
        return Optional.ofNullable(this.left);
    }

    /**
     * The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    @Import(name="top")
    private @Nullable Output top;

    /**
     * @return The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    public Optional> top() {
        return Optional.ofNullable(this.top);
    }

    /**
     * The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    @Import(name="width")
    private @Nullable Output width;

    /**
     * @return The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
     * 
     */
    public Optional> width() {
        return Optional.ofNullable(this.width);
    }

    private RectangleArgs() {}

    private RectangleArgs(RectangleArgs $) {
        this.height = $.height;
        this.left = $.left;
        this.top = $.top;
        this.width = $.width;
    }

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

    public static final class Builder {
        private RectangleArgs $;

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

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

        /**
         * @param height The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder height(@Nullable Output height) {
            $.height = height;
            return this;
        }

        /**
         * @param height The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder height(String height) {
            return height(Output.of(height));
        }

        /**
         * @param left The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder left(@Nullable Output left) {
            $.left = left;
            return this;
        }

        /**
         * @param left The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder left(String left) {
            return left(Output.of(left));
        }

        /**
         * @param top The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder top(@Nullable Output top) {
            $.top = top;
            return this;
        }

        /**
         * @param top The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder top(String top) {
            return top(Output.of(top));
        }

        /**
         * @param width The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder width(@Nullable Output width) {
            $.width = width;
            return this;
        }

        /**
         * @param width The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
         * 
         * @return builder
         * 
         */
        public Builder width(String width) {
            return width(Output.of(width));
        }

        public RectangleArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy