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

com.pulumi.aws.ivs.inputs.GetStreamKeyArgs 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.ivs.inputs;

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


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

    public static final GetStreamKeyArgs Empty = new GetStreamKeyArgs();

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

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

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

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

    private GetStreamKeyArgs() {}

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

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

    public static final class Builder {
        private GetStreamKeyArgs $;

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

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

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

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

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

        /**
         * @param tags Map of tags assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy