Class ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay>
- Enclosing interface:
- ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay
@Stability(Stable) public static final class ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelaybuild()Builds the configured instance.ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.BuilderfixedDelay(ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelayFixedDelay fixedDelay)ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builderpercentage(Number percentage)
-
-
-
Method Detail
-
fixedDelay
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builder fixedDelay(ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelayFixedDelay fixedDelay)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.getFixedDelay()- Parameters:
fixedDelay- fixed_delay block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#fixed_delay ComputeUrlMap#fixed_delay}- Returns:
this
-
percentage
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.Builder percentage(Number percentage)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay.getPercentage()- Parameters:
percentage- The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#percentage ComputeUrlMap#percentage}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay>- Returns:
- a new instance of
ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicyDelay - Throws:
NullPointerException- if any required attribute was not provided
-
-