Class ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay>
- Enclosing interface:
- ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay
@Stability(Stable) public static final class ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelaybuild()Builds the configured instance.ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.BuilderfixedDelay(ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelayFixedDelay fixedDelay)ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builderpercentage(Number percentage)
-
-
-
Method Detail
-
fixedDelay
@Stability(Stable) public ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builder fixedDelay(ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelayFixedDelay fixedDelay)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.getFixedDelay()- Parameters:
fixedDelay- fixed_delay block. This parameter is required. 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 ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.Builder percentage(Number percentage)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay.getPercentage()- Parameters:
percentage- The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. This parameter is required. 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 ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay>- Returns:
- a new instance of
ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyDelay - Throws:
NullPointerException- if any required attribute was not provided
-
-