// *** 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.ivs.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetStreamKeyPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetStreamKeyPlainArgs Empty = new GetStreamKeyPlainArgs();

    /**
     * ARN of the Channel.
     * 
     */
    @Import(name="channelArn", required=true)
    private String channelArn;

    /**
     * @return ARN of the Channel.
     * 
     */
    public String channelArn() {
        return this.channelArn;
    }

    /**
     * Map of tags assigned to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Map<String,String> tags;

    /**
     * @return Map of tags assigned to the resource.
     * 
     */
    public Optional<Map<String,String>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetStreamKeyPlainArgs() {}

    private GetStreamKeyPlainArgs(GetStreamKeyPlainArgs $) {
        this.channelArn = $.channelArn;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetStreamKeyPlainArgs $;

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

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

        /**
         * @param channelArn ARN of the Channel.
         * 
         * @return builder
         * 
         */
        public Builder channelArn(String channelArn) {
            $.channelArn = channelArn;
            return this;
        }

        /**
         * @param tags Map of tags assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map<String,String> tags) {
            $.tags = tags;
            return this;
        }

        public GetStreamKeyPlainArgs build() {
            $.channelArn = Objects.requireNonNull($.channelArn, "expected parameter 'channelArn' to be non-null");
            return $;
        }
    }

}
