Class LoggingMetricBucketOptionsExponentialBuckets.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_metric.LoggingMetricBucketOptionsExponentialBuckets.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingMetricBucketOptionsExponentialBuckets>
- Enclosing interface:
- LoggingMetricBucketOptionsExponentialBuckets
@Stability(Stable) public static final class LoggingMetricBucketOptionsExponentialBuckets.Builder extends Object implements software.amazon.jsii.Builder<LoggingMetricBucketOptionsExponentialBuckets>
A builder forLoggingMetricBucketOptionsExponentialBuckets
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingMetricBucketOptionsExponentialBucketsbuild()Builds the configured instance.LoggingMetricBucketOptionsExponentialBuckets.BuildergrowthFactor(Number growthFactor)Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getGrowthFactor()LoggingMetricBucketOptionsExponentialBuckets.BuildernumFiniteBuckets(Number numFiniteBuckets)Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getNumFiniteBuckets()LoggingMetricBucketOptionsExponentialBuckets.Builderscale(Number scale)Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getScale()
-
-
-
Method Detail
-
growthFactor
@Stability(Stable) public LoggingMetricBucketOptionsExponentialBuckets.Builder growthFactor(Number growthFactor)
Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getGrowthFactor()- Parameters:
growthFactor- Must be greater than 1. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#growth_factor LoggingMetric#growth_factor}- Returns:
this
-
numFiniteBuckets
@Stability(Stable) public LoggingMetricBucketOptionsExponentialBuckets.Builder numFiniteBuckets(Number numFiniteBuckets)
Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getNumFiniteBuckets()- Parameters:
numFiniteBuckets- Must be greater than 0. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#num_finite_buckets LoggingMetric#num_finite_buckets}- Returns:
this
-
scale
@Stability(Stable) public LoggingMetricBucketOptionsExponentialBuckets.Builder scale(Number scale)
Sets the value ofLoggingMetricBucketOptionsExponentialBuckets.getScale()- Parameters:
scale- Must be greater than 0. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#scale LoggingMetric#scale}- Returns:
this
-
build
@Stability(Stable) public LoggingMetricBucketOptionsExponentialBuckets build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingMetricBucketOptionsExponentialBuckets>- Returns:
- a new instance of
LoggingMetricBucketOptionsExponentialBuckets - Throws:
NullPointerException- if any required attribute was not provided
-
-