com.pulumi.aws.rds.inputs.ClusterServerlessv2ScalingConfigurationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.rds.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
public final class ClusterServerlessv2ScalingConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final ClusterServerlessv2ScalingConfigurationArgs Empty = new ClusterServerlessv2ScalingConfigurationArgs();
/**
* Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
*/
@Import(name="maxCapacity", required=true)
private Output maxCapacity;
/**
* @return Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
*/
public Output maxCapacity() {
return this.maxCapacity;
}
/**
* Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
*/
@Import(name="minCapacity", required=true)
private Output minCapacity;
/**
* @return Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
*/
public Output minCapacity() {
return this.minCapacity;
}
private ClusterServerlessv2ScalingConfigurationArgs() {}
private ClusterServerlessv2ScalingConfigurationArgs(ClusterServerlessv2ScalingConfigurationArgs $) {
this.maxCapacity = $.maxCapacity;
this.minCapacity = $.minCapacity;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterServerlessv2ScalingConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ClusterServerlessv2ScalingConfigurationArgs $;
public Builder() {
$ = new ClusterServerlessv2ScalingConfigurationArgs();
}
public Builder(ClusterServerlessv2ScalingConfigurationArgs defaults) {
$ = new ClusterServerlessv2ScalingConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param maxCapacity Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
* @return builder
*
*/
public Builder maxCapacity(Output maxCapacity) {
$.maxCapacity = maxCapacity;
return this;
}
/**
* @param maxCapacity Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
* @return builder
*
*/
public Builder maxCapacity(Double maxCapacity) {
return maxCapacity(Output.of(maxCapacity));
}
/**
* @param minCapacity Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
* @return builder
*
*/
public Builder minCapacity(Output minCapacity) {
$.minCapacity = minCapacity;
return this;
}
/**
* @param minCapacity Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0.5` up to `128` in steps of `0.5`.
*
* @return builder
*
*/
public Builder minCapacity(Double minCapacity) {
return minCapacity(Output.of(minCapacity));
}
public ClusterServerlessv2ScalingConfigurationArgs build() {
if ($.maxCapacity == null) {
throw new MissingRequiredPropertyException("ClusterServerlessv2ScalingConfigurationArgs", "maxCapacity");
}
if ($.minCapacity == null) {
throw new MissingRequiredPropertyException("ClusterServerlessv2ScalingConfigurationArgs", "minCapacity");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy