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

com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.kinesis.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final AnalyticsApplicationInputsKinesisStreamArgs Empty = new AnalyticsApplicationInputsKinesisStreamArgs();

    /**
     * The ARN of the Kinesis Stream.
     * 
     */
    @Import(name="resourceArn", required=true)
    private Output resourceArn;

    /**
     * @return The ARN of the Kinesis Stream.
     * 
     */
    public Output resourceArn() {
        return this.resourceArn;
    }

    /**
     * The ARN of the IAM Role used to access the stream.
     * 
     */
    @Import(name="roleArn", required=true)
    private Output roleArn;

    /**
     * @return The ARN of the IAM Role used to access the stream.
     * 
     */
    public Output roleArn() {
        return this.roleArn;
    }

    private AnalyticsApplicationInputsKinesisStreamArgs() {}

    private AnalyticsApplicationInputsKinesisStreamArgs(AnalyticsApplicationInputsKinesisStreamArgs $) {
        this.resourceArn = $.resourceArn;
        this.roleArn = $.roleArn;
    }

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

    public static final class Builder {
        private AnalyticsApplicationInputsKinesisStreamArgs $;

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

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

        /**
         * @param resourceArn The ARN of the Kinesis Stream.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(Output resourceArn) {
            $.resourceArn = resourceArn;
            return this;
        }

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

        /**
         * @param roleArn The ARN of the IAM Role used to access the stream.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The ARN of the IAM Role used to access the stream.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        public AnalyticsApplicationInputsKinesisStreamArgs build() {
            if ($.resourceArn == null) {
                throw new MissingRequiredPropertyException("AnalyticsApplicationInputsKinesisStreamArgs", "resourceArn");
            }
            if ($.roleArn == null) {
                throw new MissingRequiredPropertyException("AnalyticsApplicationInputsKinesisStreamArgs", "roleArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy