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

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

Go to download

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

The 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.aws.medialive.inputs.ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsArgs;
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 ChannelInputAttachmentInputSettingsCaptionSelectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final ChannelInputAttachmentInputSettingsCaptionSelectorArgs Empty = new ChannelInputAttachmentInputSettingsCaptionSelectorArgs();

    @Import(name="languageCode")
    private @Nullable Output languageCode;

    public Optional> languageCode() {
        return Optional.ofNullable(this.languageCode);
    }

    /**
     * Name of the Channel.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of the Channel.
     * 
     * The following arguments are optional:
     * 
     */
    public Output name() {
        return this.name;
    }

    @Import(name="selectorSettings")
    private @Nullable Output selectorSettings;

    public Optional> selectorSettings() {
        return Optional.ofNullable(this.selectorSettings);
    }

    private ChannelInputAttachmentInputSettingsCaptionSelectorArgs() {}

    private ChannelInputAttachmentInputSettingsCaptionSelectorArgs(ChannelInputAttachmentInputSettingsCaptionSelectorArgs $) {
        this.languageCode = $.languageCode;
        this.name = $.name;
        this.selectorSettings = $.selectorSettings;
    }

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

    public static final class Builder {
        private ChannelInputAttachmentInputSettingsCaptionSelectorArgs $;

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

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

        public Builder languageCode(@Nullable Output languageCode) {
            $.languageCode = languageCode;
            return this;
        }

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

        /**
         * @param name Name of the Channel.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the Channel.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder selectorSettings(@Nullable Output selectorSettings) {
            $.selectorSettings = selectorSettings;
            return this;
        }

        public Builder selectorSettings(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsArgs selectorSettings) {
            return selectorSettings(Output.of(selectorSettings));
        }

        public ChannelInputAttachmentInputSettingsCaptionSelectorArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ChannelInputAttachmentInputSettingsCaptionSelectorArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy