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

com.pulumi.aws.medialive.inputs.ChannelInputSpecificationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.medialive.inputs;

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


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

    public static final ChannelInputSpecificationArgs Empty = new ChannelInputSpecificationArgs();

    @Import(name="codec", required=true)
    private Output codec;

    public Output codec() {
        return this.codec;
    }

    @Import(name="inputResolution", required=true)
    private Output inputResolution;

    public Output inputResolution() {
        return this.inputResolution;
    }

    @Import(name="maximumBitrate", required=true)
    private Output maximumBitrate;

    public Output maximumBitrate() {
        return this.maximumBitrate;
    }

    private ChannelInputSpecificationArgs() {}

    private ChannelInputSpecificationArgs(ChannelInputSpecificationArgs $) {
        this.codec = $.codec;
        this.inputResolution = $.inputResolution;
        this.maximumBitrate = $.maximumBitrate;
    }

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

    public static final class Builder {
        private ChannelInputSpecificationArgs $;

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

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

        public Builder codec(Output codec) {
            $.codec = codec;
            return this;
        }

        public Builder codec(String codec) {
            return codec(Output.of(codec));
        }

        public Builder inputResolution(Output inputResolution) {
            $.inputResolution = inputResolution;
            return this;
        }

        public Builder inputResolution(String inputResolution) {
            return inputResolution(Output.of(inputResolution));
        }

        public Builder maximumBitrate(Output maximumBitrate) {
            $.maximumBitrate = maximumBitrate;
            return this;
        }

        public Builder maximumBitrate(String maximumBitrate) {
            return maximumBitrate(Output.of(maximumBitrate));
        }

        public ChannelInputSpecificationArgs build() {
            if ($.codec == null) {
                throw new MissingRequiredPropertyException("ChannelInputSpecificationArgs", "codec");
            }
            if ($.inputResolution == null) {
                throw new MissingRequiredPropertyException("ChannelInputSpecificationArgs", "inputResolution");
            }
            if ($.maximumBitrate == null) {
                throw new MissingRequiredPropertyException("ChannelInputSpecificationArgs", "maximumBitrate");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy