Class DataprocMetastoreServiceScalingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreServiceScalingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreServiceScalingConfig>
- Enclosing interface:
- DataprocMetastoreServiceScalingConfig
@Stability(Stable) public static final class DataprocMetastoreServiceScalingConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreServiceScalingConfig>
A builder forDataprocMetastoreServiceScalingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocMetastoreServiceScalingConfigbuild()Builds the configured instance.DataprocMetastoreServiceScalingConfig.BuilderinstanceSize(String instanceSize)Sets the value ofDataprocMetastoreServiceScalingConfig.getInstanceSize()DataprocMetastoreServiceScalingConfig.BuilderscalingFactor(Number scalingFactor)Sets the value ofDataprocMetastoreServiceScalingConfig.getScalingFactor()
-
-
-
Method Detail
-
instanceSize
@Stability(Stable) public DataprocMetastoreServiceScalingConfig.Builder instanceSize(String instanceSize)
Sets the value ofDataprocMetastoreServiceScalingConfig.getInstanceSize()- Parameters:
instanceSize- Metastore instance sizes. Possible values: ["EXTRA_SMALL", "SMALL", "MEDIUM", "LARGE", "EXTRA_LARGE"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#instance_size DataprocMetastoreService#instance_size}- Returns:
this
-
scalingFactor
@Stability(Stable) public DataprocMetastoreServiceScalingConfig.Builder scalingFactor(Number scalingFactor)
Sets the value ofDataprocMetastoreServiceScalingConfig.getScalingFactor()- Parameters:
scalingFactor- Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#scaling_factor DataprocMetastoreService#scaling_factor}- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreServiceScalingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreServiceScalingConfig>- Returns:
- a new instance of
DataprocMetastoreServiceScalingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-