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

com.pulumi.aws.kinesis.inputs.AnalyticsApplicationState 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.kinesis.inputs;

import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationCloudwatchLoggingOptionsArgs;
import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsArgs;
import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationOutputArgs;
import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
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 AnalyticsApplicationState extends com.pulumi.resources.ResourceArgs {

    public static final AnalyticsApplicationState Empty = new AnalyticsApplicationState();

    /**
     * The ARN of the Kinesis Analytics Appliation.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

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

    /**
     * The CloudWatch log stream options to monitor application errors.
     * See CloudWatch Logging Options below for more details.
     * 
     */
    @Import(name="cloudwatchLoggingOptions")
    private @Nullable Output cloudwatchLoggingOptions;

    /**
     * @return The CloudWatch log stream options to monitor application errors.
     * See CloudWatch Logging Options below for more details.
     * 
     */
    public Optional> cloudwatchLoggingOptions() {
        return Optional.ofNullable(this.cloudwatchLoggingOptions);
    }

    /**
     * SQL Code to transform input data, and generate output.
     * 
     */
    @Import(name="code")
    private @Nullable Output code;

    /**
     * @return SQL Code to transform input data, and generate output.
     * 
     */
    public Optional> code() {
        return Optional.ofNullable(this.code);
    }

    /**
     * The Timestamp when the application version was created.
     * 
     */
    @Import(name="createTimestamp")
    private @Nullable Output createTimestamp;

    /**
     * @return The Timestamp when the application version was created.
     * 
     */
    public Optional> createTimestamp() {
        return Optional.ofNullable(this.createTimestamp);
    }

    /**
     * Description of the application.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

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

    /**
     * Input configuration of the application. See Inputs below for more details.
     * 
     */
    @Import(name="inputs")
    private @Nullable Output inputs;

    /**
     * @return Input configuration of the application. See Inputs below for more details.
     * 
     */
    public Optional> inputs() {
        return Optional.ofNullable(this.inputs);
    }

    /**
     * The Timestamp when the application was last updated.
     * 
     */
    @Import(name="lastUpdateTimestamp")
    private @Nullable Output lastUpdateTimestamp;

    /**
     * @return The Timestamp when the application was last updated.
     * 
     */
    public Optional> lastUpdateTimestamp() {
        return Optional.ofNullable(this.lastUpdateTimestamp);
    }

    /**
     * Name of the Kinesis Analytics Application.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the Kinesis Analytics Application.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Output destination configuration of the application. See Outputs below for more details.
     * 
     */
    @Import(name="outputs")
    private @Nullable Output> outputs;

    /**
     * @return Output destination configuration of the application. See Outputs below for more details.
     * 
     */
    public Optional>> outputs() {
        return Optional.ofNullable(this.outputs);
    }

    /**
     * An S3 Reference Data Source for the application.
     * See Reference Data Sources below for more details.
     * 
     */
    @Import(name="referenceDataSources")
    private @Nullable Output referenceDataSources;

    /**
     * @return An S3 Reference Data Source for the application.
     * See Reference Data Sources below for more details.
     * 
     */
    public Optional> referenceDataSources() {
        return Optional.ofNullable(this.referenceDataSources);
    }

    /**
     * Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined `starting_position` must be configured.
     * To modify an application's starting position, first stop the application by setting `start_application = false`, then update `starting_position` and set `start_application = true`.
     * 
     */
    @Import(name="startApplication")
    private @Nullable Output startApplication;

    /**
     * @return Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined `starting_position` must be configured.
     * To modify an application's starting position, first stop the application by setting `start_application = false`, then update `starting_position` and set `start_application = true`.
     * 
     */
    public Optional> startApplication() {
        return Optional.ofNullable(this.startApplication);
    }

    /**
     * The Status of the application.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The Status of the application.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Key-value map of tags for the Kinesis Analytics Application. 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 Key-value map of tags for the Kinesis Analytics Application. 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);
    }

    /**
     * The Version of the application.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The Version of the application.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private AnalyticsApplicationState() {}

    private AnalyticsApplicationState(AnalyticsApplicationState $) {
        this.arn = $.arn;
        this.cloudwatchLoggingOptions = $.cloudwatchLoggingOptions;
        this.code = $.code;
        this.createTimestamp = $.createTimestamp;
        this.description = $.description;
        this.inputs = $.inputs;
        this.lastUpdateTimestamp = $.lastUpdateTimestamp;
        this.name = $.name;
        this.outputs = $.outputs;
        this.referenceDataSources = $.referenceDataSources;
        this.startApplication = $.startApplication;
        this.status = $.status;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.version = $.version;
    }

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

    public static final class Builder {
        private AnalyticsApplicationState $;

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

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

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

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

        /**
         * @param cloudwatchLoggingOptions The CloudWatch log stream options to monitor application errors.
         * See CloudWatch Logging Options below for more details.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLoggingOptions(@Nullable Output cloudwatchLoggingOptions) {
            $.cloudwatchLoggingOptions = cloudwatchLoggingOptions;
            return this;
        }

        /**
         * @param cloudwatchLoggingOptions The CloudWatch log stream options to monitor application errors.
         * See CloudWatch Logging Options below for more details.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLoggingOptions(AnalyticsApplicationCloudwatchLoggingOptionsArgs cloudwatchLoggingOptions) {
            return cloudwatchLoggingOptions(Output.of(cloudwatchLoggingOptions));
        }

        /**
         * @param code SQL Code to transform input data, and generate output.
         * 
         * @return builder
         * 
         */
        public Builder code(@Nullable Output code) {
            $.code = code;
            return this;
        }

        /**
         * @param code SQL Code to transform input data, and generate output.
         * 
         * @return builder
         * 
         */
        public Builder code(String code) {
            return code(Output.of(code));
        }

        /**
         * @param createTimestamp The Timestamp when the application version was created.
         * 
         * @return builder
         * 
         */
        public Builder createTimestamp(@Nullable Output createTimestamp) {
            $.createTimestamp = createTimestamp;
            return this;
        }

        /**
         * @param createTimestamp The Timestamp when the application version was created.
         * 
         * @return builder
         * 
         */
        public Builder createTimestamp(String createTimestamp) {
            return createTimestamp(Output.of(createTimestamp));
        }

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

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

        /**
         * @param inputs Input configuration of the application. See Inputs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder inputs(@Nullable Output inputs) {
            $.inputs = inputs;
            return this;
        }

        /**
         * @param inputs Input configuration of the application. See Inputs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder inputs(AnalyticsApplicationInputsArgs inputs) {
            return inputs(Output.of(inputs));
        }

        /**
         * @param lastUpdateTimestamp The Timestamp when the application was last updated.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdateTimestamp(@Nullable Output lastUpdateTimestamp) {
            $.lastUpdateTimestamp = lastUpdateTimestamp;
            return this;
        }

        /**
         * @param lastUpdateTimestamp The Timestamp when the application was last updated.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdateTimestamp(String lastUpdateTimestamp) {
            return lastUpdateTimestamp(Output.of(lastUpdateTimestamp));
        }

        /**
         * @param name Name of the Kinesis Analytics Application.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the Kinesis Analytics Application.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param outputs Output destination configuration of the application. See Outputs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder outputs(@Nullable Output> outputs) {
            $.outputs = outputs;
            return this;
        }

        /**
         * @param outputs Output destination configuration of the application. See Outputs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder outputs(List outputs) {
            return outputs(Output.of(outputs));
        }

        /**
         * @param outputs Output destination configuration of the application. See Outputs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder outputs(AnalyticsApplicationOutputArgs... outputs) {
            return outputs(List.of(outputs));
        }

        /**
         * @param referenceDataSources An S3 Reference Data Source for the application.
         * See Reference Data Sources below for more details.
         * 
         * @return builder
         * 
         */
        public Builder referenceDataSources(@Nullable Output referenceDataSources) {
            $.referenceDataSources = referenceDataSources;
            return this;
        }

        /**
         * @param referenceDataSources An S3 Reference Data Source for the application.
         * See Reference Data Sources below for more details.
         * 
         * @return builder
         * 
         */
        public Builder referenceDataSources(AnalyticsApplicationReferenceDataSourcesArgs referenceDataSources) {
            return referenceDataSources(Output.of(referenceDataSources));
        }

        /**
         * @param startApplication Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined `starting_position` must be configured.
         * To modify an application's starting position, first stop the application by setting `start_application = false`, then update `starting_position` and set `start_application = true`.
         * 
         * @return builder
         * 
         */
        public Builder startApplication(@Nullable Output startApplication) {
            $.startApplication = startApplication;
            return this;
        }

        /**
         * @param startApplication Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined `starting_position` must be configured.
         * To modify an application's starting position, first stop the application by setting `start_application = false`, then update `starting_position` and set `start_application = true`.
         * 
         * @return builder
         * 
         */
        public Builder startApplication(Boolean startApplication) {
            return startApplication(Output.of(startApplication));
        }

        /**
         * @param status The Status of the application.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The Status of the application.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param tags Key-value map of tags for the Kinesis Analytics Application. 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 Key-value map of tags for the Kinesis Analytics Application. 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));
        }

        /**
         * @param version The Version of the application.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The Version of the application.
         * 
         * @return builder
         * 
         */
        public Builder version(Integer version) {
            return version(Output.of(version));
        }

        public AnalyticsApplicationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy