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

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

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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterSnapshotState Empty = new ClusterSnapshotState();

    /**
     * Specifies the allocated storage size in gigabytes (GB).
     * 
     */
    @Import(name="allocatedStorage")
    private @Nullable Output allocatedStorage;

    /**
     * @return Specifies the allocated storage size in gigabytes (GB).
     * 
     */
    public Optional> allocatedStorage() {
        return Optional.ofNullable(this.allocatedStorage);
    }

    /**
     * List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
     * 
     */
    @Import(name="availabilityZones")
    private @Nullable Output> availabilityZones;

    /**
     * @return List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
     * 
     */
    public Optional>> availabilityZones() {
        return Optional.ofNullable(this.availabilityZones);
    }

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

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

    /**
     * The Amazon Resource Name (ARN) for the DB Cluster Snapshot.
     * 
     */
    @Import(name="dbClusterSnapshotArn")
    private @Nullable Output dbClusterSnapshotArn;

    /**
     * @return The Amazon Resource Name (ARN) for the DB Cluster Snapshot.
     * 
     */
    public Optional> dbClusterSnapshotArn() {
        return Optional.ofNullable(this.dbClusterSnapshotArn);
    }

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

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

    /**
     * Specifies the name of the database engine.
     * 
     */
    @Import(name="engine")
    private @Nullable Output engine;

    /**
     * @return Specifies the name of the database engine.
     * 
     */
    public Optional> engine() {
        return Optional.ofNullable(this.engine);
    }

    /**
     * Version of the database engine for this DB cluster snapshot.
     * 
     */
    @Import(name="engineVersion")
    private @Nullable Output engineVersion;

    /**
     * @return Version of the database engine for this DB cluster snapshot.
     * 
     */
    public Optional> engineVersion() {
        return Optional.ofNullable(this.engineVersion);
    }

    /**
     * If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * License model information for the restored DB cluster.
     * 
     */
    @Import(name="licenseModel")
    private @Nullable Output licenseModel;

    /**
     * @return License model information for the restored DB cluster.
     * 
     */
    public Optional> licenseModel() {
        return Optional.ofNullable(this.licenseModel);
    }

    /**
     * Port that the DB cluster was listening on at the time of the snapshot.
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return Port that the DB cluster was listening on at the time of the snapshot.
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    @Import(name="snapshotType")
    private @Nullable Output snapshotType;

    public Optional> snapshotType() {
        return Optional.ofNullable(this.snapshotType);
    }

    @Import(name="sourceDbClusterSnapshotArn")
    private @Nullable Output sourceDbClusterSnapshotArn;

    public Optional> sourceDbClusterSnapshotArn() {
        return Optional.ofNullable(this.sourceDbClusterSnapshotArn);
    }

    /**
     * The status of this DB Cluster Snapshot.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of this DB Cluster Snapshot.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Specifies whether the DB cluster snapshot is encrypted.
     * 
     */
    @Import(name="storageEncrypted")
    private @Nullable Output storageEncrypted;

    /**
     * @return Specifies whether the DB cluster snapshot is encrypted.
     * 
     */
    public Optional> storageEncrypted() {
        return Optional.ofNullable(this.storageEncrypted);
    }

    /**
     * The VPC ID associated with the DB cluster snapshot.
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return The VPC ID associated with the DB cluster snapshot.
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private ClusterSnapshotState() {}

    private ClusterSnapshotState(ClusterSnapshotState $) {
        this.allocatedStorage = $.allocatedStorage;
        this.availabilityZones = $.availabilityZones;
        this.dbClusterIdentifier = $.dbClusterIdentifier;
        this.dbClusterSnapshotArn = $.dbClusterSnapshotArn;
        this.dbClusterSnapshotIdentifier = $.dbClusterSnapshotIdentifier;
        this.engine = $.engine;
        this.engineVersion = $.engineVersion;
        this.kmsKeyId = $.kmsKeyId;
        this.licenseModel = $.licenseModel;
        this.port = $.port;
        this.snapshotType = $.snapshotType;
        this.sourceDbClusterSnapshotArn = $.sourceDbClusterSnapshotArn;
        this.status = $.status;
        this.storageEncrypted = $.storageEncrypted;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private ClusterSnapshotState $;

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

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

        /**
         * @param allocatedStorage Specifies the allocated storage size in gigabytes (GB).
         * 
         * @return builder
         * 
         */
        public Builder allocatedStorage(@Nullable Output allocatedStorage) {
            $.allocatedStorage = allocatedStorage;
            return this;
        }

        /**
         * @param allocatedStorage Specifies the allocated storage size in gigabytes (GB).
         * 
         * @return builder
         * 
         */
        public Builder allocatedStorage(Integer allocatedStorage) {
            return allocatedStorage(Output.of(allocatedStorage));
        }

        /**
         * @param availabilityZones List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(@Nullable Output> availabilityZones) {
            $.availabilityZones = availabilityZones;
            return this;
        }

        /**
         * @param availabilityZones List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(List availabilityZones) {
            return availabilityZones(Output.of(availabilityZones));
        }

        /**
         * @param availabilityZones List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }

        /**
         * @param dbClusterIdentifier The DB Cluster Identifier from which to take the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterIdentifier(@Nullable 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 dbClusterSnapshotArn The Amazon Resource Name (ARN) for the DB Cluster Snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterSnapshotArn(@Nullable Output dbClusterSnapshotArn) {
            $.dbClusterSnapshotArn = dbClusterSnapshotArn;
            return this;
        }

        /**
         * @param dbClusterSnapshotArn The Amazon Resource Name (ARN) for the DB Cluster Snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterSnapshotArn(String dbClusterSnapshotArn) {
            return dbClusterSnapshotArn(Output.of(dbClusterSnapshotArn));
        }

        /**
         * @param dbClusterSnapshotIdentifier The Identifier for the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder dbClusterSnapshotIdentifier(@Nullable 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));
        }

        /**
         * @param engine Specifies the name of the database engine.
         * 
         * @return builder
         * 
         */
        public Builder engine(@Nullable Output engine) {
            $.engine = engine;
            return this;
        }

        /**
         * @param engine Specifies the name of the database engine.
         * 
         * @return builder
         * 
         */
        public Builder engine(String engine) {
            return engine(Output.of(engine));
        }

        /**
         * @param engineVersion Version of the database engine for this DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder engineVersion(@Nullable Output engineVersion) {
            $.engineVersion = engineVersion;
            return this;
        }

        /**
         * @param engineVersion Version of the database engine for this DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder engineVersion(String engineVersion) {
            return engineVersion(Output.of(engineVersion));
        }

        /**
         * @param kmsKeyId If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param licenseModel License model information for the restored DB cluster.
         * 
         * @return builder
         * 
         */
        public Builder licenseModel(@Nullable Output licenseModel) {
            $.licenseModel = licenseModel;
            return this;
        }

        /**
         * @param licenseModel License model information for the restored DB cluster.
         * 
         * @return builder
         * 
         */
        public Builder licenseModel(String licenseModel) {
            return licenseModel(Output.of(licenseModel));
        }

        /**
         * @param port Port that the DB cluster was listening on at the time of the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port Port that the DB cluster was listening on at the time of the snapshot.
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        public Builder snapshotType(@Nullable Output snapshotType) {
            $.snapshotType = snapshotType;
            return this;
        }

        public Builder snapshotType(String snapshotType) {
            return snapshotType(Output.of(snapshotType));
        }

        public Builder sourceDbClusterSnapshotArn(@Nullable Output sourceDbClusterSnapshotArn) {
            $.sourceDbClusterSnapshotArn = sourceDbClusterSnapshotArn;
            return this;
        }

        public Builder sourceDbClusterSnapshotArn(String sourceDbClusterSnapshotArn) {
            return sourceDbClusterSnapshotArn(Output.of(sourceDbClusterSnapshotArn));
        }

        /**
         * @param status The status of this DB Cluster Snapshot.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of this DB Cluster Snapshot.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param storageEncrypted Specifies whether the DB cluster snapshot is encrypted.
         * 
         * @return builder
         * 
         */
        public Builder storageEncrypted(@Nullable Output storageEncrypted) {
            $.storageEncrypted = storageEncrypted;
            return this;
        }

        /**
         * @param storageEncrypted Specifies whether the DB cluster snapshot is encrypted.
         * 
         * @return builder
         * 
         */
        public Builder storageEncrypted(Boolean storageEncrypted) {
            return storageEncrypted(Output.of(storageEncrypted));
        }

        /**
         * @param vpcId The VPC ID associated with the DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The VPC ID associated with the DB cluster snapshot.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public ClusterSnapshotState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy