Class LoggingMetricBucketOptionsLinearBuckets.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_metric.LoggingMetricBucketOptionsLinearBuckets.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingMetricBucketOptionsLinearBuckets>
- Enclosing interface:
- LoggingMetricBucketOptionsLinearBuckets
@Stability(Stable) public static final class LoggingMetricBucketOptionsLinearBuckets.Builder extends Object implements software.amazon.jsii.Builder<LoggingMetricBucketOptionsLinearBuckets>
A builder forLoggingMetricBucketOptionsLinearBuckets
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingMetricBucketOptionsLinearBucketsbuild()Builds the configured instance.LoggingMetricBucketOptionsLinearBuckets.BuildernumFiniteBuckets(Number numFiniteBuckets)Sets the value ofLoggingMetricBucketOptionsLinearBuckets.getNumFiniteBuckets()LoggingMetricBucketOptionsLinearBuckets.Builderoffset(Number offset)Sets the value ofLoggingMetricBucketOptionsLinearBuckets.getOffset()LoggingMetricBucketOptionsLinearBuckets.Builderwidth(Number width)Sets the value ofLoggingMetricBucketOptionsLinearBuckets.getWidth()
-
-
-
Method Detail
-
numFiniteBuckets
@Stability(Stable) public LoggingMetricBucketOptionsLinearBuckets.Builder numFiniteBuckets(Number numFiniteBuckets)
Sets the value ofLoggingMetricBucketOptionsLinearBuckets.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
-
offset
@Stability(Stable) public LoggingMetricBucketOptionsLinearBuckets.Builder offset(Number offset)
Sets the value ofLoggingMetricBucketOptionsLinearBuckets.getOffset()- Parameters:
offset- Lower bound of the first bucket. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#offset LoggingMetric#offset}- Returns:
this
-
width
@Stability(Stable) public LoggingMetricBucketOptionsLinearBuckets.Builder width(Number width)
Sets the value ofLoggingMetricBucketOptionsLinearBuckets.getWidth()- Parameters:
width- 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#width LoggingMetric#width}- Returns:
this
-
build
@Stability(Stable) public LoggingMetricBucketOptionsLinearBuckets build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingMetricBucketOptionsLinearBuckets>- Returns:
- a new instance of
LoggingMetricBucketOptionsLinearBuckets - Throws:
NullPointerException- if any required attribute was not provided
-
-