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

com.pulumi.aws.neptune.ClusterSnapshotArgs 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.neptune;

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

    public static final ClusterSnapshotArgs Empty = new ClusterSnapshotArgs();

    /**
     * The DB Cluster Identifier from which to take the snapshot.
     * 
     */
    @Import(name="dbClusterIdentifier", required=true)
    private Output dbClusterIdentifier;

    /**
     * @return The DB Cluster Identifier from which to take the snapshot.
     * 
     */
    public Output dbClusterIdentifier() {
        return this.dbClusterIdentifier;
    }

    /**
     * The Identifier for the snapshot.
     * 
     */
    @Import(name="dbClusterSnapshotIdentifier", required=true)
    private Output dbClusterSnapshotIdentifier;

    /**
     * @return The Identifier for the snapshot.
     * 
     */
    public Output dbClusterSnapshotIdentifier() {
        return this.dbClusterSnapshotIdentifier;
    }

    private ClusterSnapshotArgs() {}

    private ClusterSnapshotArgs(ClusterSnapshotArgs $) {
        this.dbClusterIdentifier = $.dbClusterIdentifier;
        this.dbClusterSnapshotIdentifier = $.dbClusterSnapshotIdentifier;
    }

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

    public static final class Builder {
        private ClusterSnapshotArgs $;

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

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

        /**
         * @param dbClusterIdentifier The DB Cluster Identifier from which to take the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterIdentifier(Output dbClusterIdentifier) {
            $.dbClusterIdentifier = dbClusterIdentifier;
            return this;
        }

        /**
         * @param dbClusterIdentifier The DB Cluster Identifier from which to take the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterIdentifier(String dbClusterIdentifier) {
            return dbClusterIdentifier(Output.of(dbClusterIdentifier));
        }

        /**
         * @param dbClusterSnapshotIdentifier The Identifier for the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterSnapshotIdentifier(Output dbClusterSnapshotIdentifier) {
            $.dbClusterSnapshotIdentifier = dbClusterSnapshotIdentifier;
            return this;
        }

        /**
         * @param dbClusterSnapshotIdentifier The Identifier for the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) {
            return dbClusterSnapshotIdentifier(Output.of(dbClusterSnapshotIdentifier));
        }

        public ClusterSnapshotArgs build() {
            if ($.dbClusterIdentifier == null) {
                throw new MissingRequiredPropertyException("ClusterSnapshotArgs", "dbClusterIdentifier");
            }
            if ($.dbClusterSnapshotIdentifier == null) {
                throw new MissingRequiredPropertyException("ClusterSnapshotArgs", "dbClusterSnapshotIdentifier");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy