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

com.pulumi.aws.mediapackage.inputs.ChannelState 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.mediapackage.inputs;

import com.pulumi.aws.mediapackage.inputs.ChannelHlsIngestArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
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 ChannelState extends com.pulumi.resources.ResourceArgs {

    public static final ChannelState Empty = new ChannelState();

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

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

    /**
     * A unique identifier describing the channel
     * 
     */
    @Import(name="channelId")
    private @Nullable Output channelId;

    /**
     * @return A unique identifier describing the channel
     * 
     */
    public Optional> channelId() {
        return Optional.ofNullable(this.channelId);
    }

    /**
     * A description of the channel
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the channel
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * A single item list of HLS ingest information
     * 
     */
    @Import(name="hlsIngests")
    private @Nullable Output> hlsIngests;

    /**
     * @return A single item list of HLS ingest information
     * 
     */
    public Optional>> hlsIngests() {
        return Optional.ofNullable(this.hlsIngests);
    }

    /**
     * A map of tags to assign to the resource. .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 resource. .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);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private ChannelState() {}

    private ChannelState(ChannelState $) {
        this.arn = $.arn;
        this.channelId = $.channelId;
        this.description = $.description;
        this.hlsIngests = $.hlsIngests;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private ChannelState $;

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

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

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

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

        /**
         * @param channelId A unique identifier describing the channel
         * 
         * @return builder
         * 
         */
        public Builder channelId(@Nullable Output channelId) {
            $.channelId = channelId;
            return this;
        }

        /**
         * @param channelId A unique identifier describing the channel
         * 
         * @return builder
         * 
         */
        public Builder channelId(String channelId) {
            return channelId(Output.of(channelId));
        }

        /**
         * @param description A description of the channel
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the channel
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param hlsIngests A single item list of HLS ingest information
         * 
         * @return builder
         * 
         */
        public Builder hlsIngests(@Nullable Output> hlsIngests) {
            $.hlsIngests = hlsIngests;
            return this;
        }

        /**
         * @param hlsIngests A single item list of HLS ingest information
         * 
         * @return builder
         * 
         */
        public Builder hlsIngests(List hlsIngests) {
            return hlsIngests(Output.of(hlsIngests));
        }

        /**
         * @param hlsIngests A single item list of HLS ingest information
         * 
         * @return builder
         * 
         */
        public Builder hlsIngests(ChannelHlsIngestArgs... hlsIngests) {
            return hlsIngests(List.of(hlsIngests));
        }

        /**
         * @param tags A map of tags to assign to the resource. .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 resource. .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));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public ChannelState build() {
            $.description = Codegen.stringProp("description").output().arg($.description).def("Managed by Pulumi").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy