Class LoggingMetricBucketOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_metric.LoggingMetricBucketOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingMetricBucketOptions>
- Enclosing interface:
- LoggingMetricBucketOptions
@Stability(Stable) public static final class LoggingMetricBucketOptions.Builder extends Object implements software.amazon.jsii.Builder<LoggingMetricBucketOptions>
A builder forLoggingMetricBucketOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingMetricBucketOptionsbuild()Builds the configured instance.LoggingMetricBucketOptions.BuilderexplicitBuckets(LoggingMetricBucketOptionsExplicitBuckets explicitBuckets)Sets the value ofLoggingMetricBucketOptions.getExplicitBuckets()LoggingMetricBucketOptions.BuilderexponentialBuckets(LoggingMetricBucketOptionsExponentialBuckets exponentialBuckets)Sets the value ofLoggingMetricBucketOptions.getExponentialBuckets()LoggingMetricBucketOptions.BuilderlinearBuckets(LoggingMetricBucketOptionsLinearBuckets linearBuckets)Sets the value ofLoggingMetricBucketOptions.getLinearBuckets()
-
-
-
Method Detail
-
explicitBuckets
@Stability(Stable) public LoggingMetricBucketOptions.Builder explicitBuckets(LoggingMetricBucketOptionsExplicitBuckets explicitBuckets)
Sets the value ofLoggingMetricBucketOptions.getExplicitBuckets()- Parameters:
explicitBuckets- explicit_buckets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#explicit_buckets LoggingMetric#explicit_buckets}- Returns:
this
-
exponentialBuckets
@Stability(Stable) public LoggingMetricBucketOptions.Builder exponentialBuckets(LoggingMetricBucketOptionsExponentialBuckets exponentialBuckets)
Sets the value ofLoggingMetricBucketOptions.getExponentialBuckets()- Parameters:
exponentialBuckets- exponential_buckets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#exponential_buckets LoggingMetric#exponential_buckets}- Returns:
this
-
linearBuckets
@Stability(Stable) public LoggingMetricBucketOptions.Builder linearBuckets(LoggingMetricBucketOptionsLinearBuckets linearBuckets)
Sets the value ofLoggingMetricBucketOptions.getLinearBuckets()- Parameters:
linearBuckets- linear_buckets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#linear_buckets LoggingMetric#linear_buckets}- Returns:
this
-
build
@Stability(Stable) public LoggingMetricBucketOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingMetricBucketOptions>- Returns:
- a new instance of
LoggingMetricBucketOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-