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

com.pulumi.aws.neptune.outputs.ClusterServerlessV2ScalingConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ClusterServerlessV2ScalingConfiguration {
    /**
     * @return The maximum Neptune Capacity Units (NCUs) for this cluster. Must be lower or equal than **128**. See [AWS Documentation](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-capacity-scaling.html) for more details.
     * 
     */
    private @Nullable Double maxCapacity;
    /**
     * @return The minimum Neptune Capacity Units (NCUs) for this cluster. Must be greater or equal than **1**. See [AWS Documentation](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-capacity-scaling.html) for more details.
     * 
     */
    private @Nullable Double minCapacity;

    private ClusterServerlessV2ScalingConfiguration() {}
    /**
     * @return The maximum Neptune Capacity Units (NCUs) for this cluster. Must be lower or equal than **128**. See [AWS Documentation](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-capacity-scaling.html) for more details.
     * 
     */
    public Optional maxCapacity() {
        return Optional.ofNullable(this.maxCapacity);
    }
    /**
     * @return The minimum Neptune Capacity Units (NCUs) for this cluster. Must be greater or equal than **1**. See [AWS Documentation](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-capacity-scaling.html) for more details.
     * 
     */
    public Optional minCapacity() {
        return Optional.ofNullable(this.minCapacity);
    }

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

    public static Builder builder(ClusterServerlessV2ScalingConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double maxCapacity;
        private @Nullable Double minCapacity;
        public Builder() {}
        public Builder(ClusterServerlessV2ScalingConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.maxCapacity = defaults.maxCapacity;
    	      this.minCapacity = defaults.minCapacity;
        }

        @CustomType.Setter
        public Builder maxCapacity(@Nullable Double maxCapacity) {

            this.maxCapacity = maxCapacity;
            return this;
        }
        @CustomType.Setter
        public Builder minCapacity(@Nullable Double minCapacity) {

            this.minCapacity = minCapacity;
            return this;
        }
        public ClusterServerlessV2ScalingConfiguration build() {
            final var _resultValue = new ClusterServerlessV2ScalingConfiguration();
            _resultValue.maxCapacity = maxCapacity;
            _resultValue.minCapacity = minCapacity;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy