// *** 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.aws.medialive.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;

@CustomType
public final class ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle {
    /**
     * @return Output video height in pixels.
     * 
     */
    private Double height;
    private Double leftOffset;
    private Double topOffset;
    /**
     * @return Output video width in pixels.
     * 
     */
    private Double width;

    private ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle() {}
    /**
     * @return Output video height in pixels.
     * 
     */
    public Double height() {
        return this.height;
    }
    public Double leftOffset() {
        return this.leftOffset;
    }
    public Double topOffset() {
        return this.topOffset;
    }
    /**
     * @return Output video width in pixels.
     * 
     */
    public Double width() {
        return this.width;
    }

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

    public static Builder builder(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double height;
        private Double leftOffset;
        private Double topOffset;
        private Double width;
        public Builder() {}
        public Builder(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.height = defaults.height;
    	      this.leftOffset = defaults.leftOffset;
    	      this.topOffset = defaults.topOffset;
    	      this.width = defaults.width;
        }

        @CustomType.Setter
        public Builder height(Double height) {
            this.height = Objects.requireNonNull(height);
            return this;
        }
        @CustomType.Setter
        public Builder leftOffset(Double leftOffset) {
            this.leftOffset = Objects.requireNonNull(leftOffset);
            return this;
        }
        @CustomType.Setter
        public Builder topOffset(Double topOffset) {
            this.topOffset = Objects.requireNonNull(topOffset);
            return this;
        }
        @CustomType.Setter
        public Builder width(Double width) {
            this.width = Objects.requireNonNull(width);
            return this;
        }
        public ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle build() {
            final var o = new ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangle();
            o.height = height;
            o.leftOffset = leftOffset;
            o.topOffset = topOffset;
            o.width = width;
            return o;
        }
    }
}
