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

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

// *** 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.MultiplexMultiplexSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final MultiplexState Empty = new MultiplexState();

    /**
     * ARN of the Multiplex.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the Multiplex.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * A list of availability zones. You must specify exactly two.
     * 
     */
    @Import(name="availabilityZones")
    private @Nullable Output> availabilityZones;

    /**
     * @return A list of availability zones. You must specify exactly two.
     * 
     */
    public Optional>> availabilityZones() {
        return Optional.ofNullable(this.availabilityZones);
    }

    /**
     * Multiplex settings. See Multiplex Settings for more details.
     * 
     */
    @Import(name="multiplexSettings")
    private @Nullable Output multiplexSettings;

    /**
     * @return Multiplex settings. See Multiplex Settings for more details.
     * 
     */
    public Optional> multiplexSettings() {
        return Optional.ofNullable(this.multiplexSettings);
    }

    /**
     * name of Multiplex.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return name of Multiplex.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Whether to start the Multiplex. Defaults to `false`.
     * 
     */
    @Import(name="startMultiplex")
    private @Nullable Output startMultiplex;

    /**
     * @return Whether to start the Multiplex. Defaults to `false`.
     * 
     */
    public Optional> startMultiplex() {
        return Optional.ofNullable(this.startMultiplex);
    }

    /**
     * A map of tags to assign to the Multiplex. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the Multiplex. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private MultiplexState() {}

    private MultiplexState(MultiplexState $) {
        this.arn = $.arn;
        this.availabilityZones = $.availabilityZones;
        this.multiplexSettings = $.multiplexSettings;
        this.name = $.name;
        this.startMultiplex = $.startMultiplex;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private MultiplexState $;

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

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

        /**
         * @param arn ARN of the Multiplex.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the Multiplex.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param availabilityZones A list of availability zones. You must specify exactly two.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(@Nullable Output> availabilityZones) {
            $.availabilityZones = availabilityZones;
            return this;
        }

        /**
         * @param availabilityZones A list of availability zones. You must specify exactly two.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(List availabilityZones) {
            return availabilityZones(Output.of(availabilityZones));
        }

        /**
         * @param availabilityZones A list of availability zones. You must specify exactly two.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }

        /**
         * @param multiplexSettings Multiplex settings. See Multiplex Settings for more details.
         * 
         * @return builder
         * 
         */
        public Builder multiplexSettings(@Nullable Output multiplexSettings) {
            $.multiplexSettings = multiplexSettings;
            return this;
        }

        /**
         * @param multiplexSettings Multiplex settings. See Multiplex Settings for more details.
         * 
         * @return builder
         * 
         */
        public Builder multiplexSettings(MultiplexMultiplexSettingsArgs multiplexSettings) {
            return multiplexSettings(Output.of(multiplexSettings));
        }

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

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

        /**
         * @param startMultiplex Whether to start the Multiplex. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder startMultiplex(@Nullable Output startMultiplex) {
            $.startMultiplex = startMultiplex;
            return this;
        }

        /**
         * @param startMultiplex Whether to start the Multiplex. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder startMultiplex(Boolean startMultiplex) {
            return startMultiplex(Output.of(startMultiplex));
        }

        /**
         * @param tags A map of tags to assign to the Multiplex. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the Multiplex. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public MultiplexState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy