Class ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_backend_service.ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeBackendServiceOutlierDetectionBaseEjectionTime>
- Enclosing interface:
- ComputeBackendServiceOutlierDetectionBaseEjectionTime
@Stability(Stable) public static final class ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builder extends Object implements software.amazon.jsii.Builder<ComputeBackendServiceOutlierDetectionBaseEjectionTime>
A builder forComputeBackendServiceOutlierDetectionBaseEjectionTime
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeBackendServiceOutlierDetectionBaseEjectionTimebuild()Builds the configured instance.ComputeBackendServiceOutlierDetectionBaseEjectionTime.Buildernanos(Number nanos)Sets the value ofComputeBackendServiceOutlierDetectionBaseEjectionTime.getNanos()ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builderseconds(Number seconds)Sets the value ofComputeBackendServiceOutlierDetectionBaseEjectionTime.getSeconds()
-
-
-
Method Detail
-
seconds
@Stability(Stable) public ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builder seconds(Number seconds)
Sets the value ofComputeBackendServiceOutlierDetectionBaseEjectionTime.getSeconds()- Parameters:
seconds- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#seconds ComputeBackendService#seconds}- Returns:
this
-
nanos
@Stability(Stable) public ComputeBackendServiceOutlierDetectionBaseEjectionTime.Builder nanos(Number nanos)
Sets the value ofComputeBackendServiceOutlierDetectionBaseEjectionTime.getNanos()- Parameters:
nanos- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 'seconds' field and a positive 'nanos' field. Must be from 0 to 999,999,999 inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#nanos ComputeBackendService#nanos}- Returns:
this
-
build
@Stability(Stable) public ComputeBackendServiceOutlierDetectionBaseEjectionTime build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeBackendServiceOutlierDetectionBaseEjectionTime>- Returns:
- a new instance of
ComputeBackendServiceOutlierDetectionBaseEjectionTime - Throws:
NullPointerException- if any required attribute was not provided
-
-