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

com.pulumi.aws.kinesisanalyticsv2.ApplicationSnapshotArgs 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.kinesisanalyticsv2;

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 ApplicationSnapshotArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationSnapshotArgs Empty = new ApplicationSnapshotArgs();

    /**
     * The name of an existing  Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.
     * 
     */
    @Import(name="applicationName", required=true)
    private Output applicationName;

    /**
     * @return The name of an existing  Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.
     * 
     */
    public Output applicationName() {
        return this.applicationName;
    }

    /**
     * The name of the application snapshot.
     * 
     */
    @Import(name="snapshotName", required=true)
    private Output snapshotName;

    /**
     * @return The name of the application snapshot.
     * 
     */
    public Output snapshotName() {
        return this.snapshotName;
    }

    private ApplicationSnapshotArgs() {}

    private ApplicationSnapshotArgs(ApplicationSnapshotArgs $) {
        this.applicationName = $.applicationName;
        this.snapshotName = $.snapshotName;
    }

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

    public static final class Builder {
        private ApplicationSnapshotArgs $;

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

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

        /**
         * @param applicationName The name of an existing  Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(Output applicationName) {
            $.applicationName = applicationName;
            return this;
        }

        /**
         * @param applicationName The name of an existing  Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(String applicationName) {
            return applicationName(Output.of(applicationName));
        }

        /**
         * @param snapshotName The name of the application snapshot.
         * 
         * @return builder
         * 
         */
        public Builder snapshotName(Output snapshotName) {
            $.snapshotName = snapshotName;
            return this;
        }

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

        public ApplicationSnapshotArgs build() {
            if ($.applicationName == null) {
                throw new MissingRequiredPropertyException("ApplicationSnapshotArgs", "applicationName");
            }
            if ($.snapshotName == null) {
                throw new MissingRequiredPropertyException("ApplicationSnapshotArgs", "snapshotName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy