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

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


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

    public static final EventStreamState Empty = new EventStreamState();

    /**
     * The application ID.
     * 
     */
    @Import(name="applicationId")
    private @Nullable Output<String> applicationId;

    /**
     * @return The application ID.
     * 
     */
    public Optional<Output<String>> applicationId() {
        return Optional.ofNullable(this.applicationId);
    }

    /**
     * The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
     * 
     */
    @Import(name="destinationStreamArn")
    private @Nullable Output<String> destinationStreamArn;

    /**
     * @return The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
     * 
     */
    public Optional<Output<String>> destinationStreamArn() {
        return Optional.ofNullable(this.destinationStreamArn);
    }

    /**
     * The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output<String> roleArn;

    /**
     * @return The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
     * 
     */
    public Optional<Output<String>> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    private EventStreamState() {}

    private EventStreamState(EventStreamState $) {
        this.applicationId = $.applicationId;
        this.destinationStreamArn = $.destinationStreamArn;
        this.roleArn = $.roleArn;
    }

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

    public static final class Builder {
        private EventStreamState $;

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

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

        /**
         * @param applicationId The application ID.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(@Nullable Output<String> applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId The application ID.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param destinationStreamArn The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
         * 
         * @return builder
         * 
         */
        public Builder destinationStreamArn(@Nullable Output<String> destinationStreamArn) {
            $.destinationStreamArn = destinationStreamArn;
            return this;
        }

        /**
         * @param destinationStreamArn The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
         * 
         * @return builder
         * 
         */
        public Builder destinationStreamArn(String destinationStreamArn) {
            return destinationStreamArn(Output.of(destinationStreamArn));
        }

        /**
         * @param roleArn The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output<String> roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        public EventStreamState build() {
            return $;
        }
    }

}
