Class NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcher>
- Enclosing interface:
- NetworkServicesEdgeCacheServiceRoutingPathMatcher
@Stability(Stable) public static final class NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder extends Object implements software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcher>
A builder forNetworkServicesEdgeCacheServiceRoutingPathMatcher
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkServicesEdgeCacheServiceRoutingPathMatcherbuild()Builds the configured instance.NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builderdescription(String description)Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getDescription()NetworkServicesEdgeCacheServiceRoutingPathMatcher.Buildername(String name)Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getName()NetworkServicesEdgeCacheServiceRoutingPathMatcher.BuilderrouteRule(com.hashicorp.cdktf.IResolvable routeRule)Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getRouteRule()NetworkServicesEdgeCacheServiceRoutingPathMatcher.BuilderrouteRule(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRule> routeRule)Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getRouteRule()
-
-
-
Method Detail
-
name
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder name(String name)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getName()- Parameters:
name- The name to which this PathMatcher is referred by the HostRule. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#name NetworkServicesEdgeCacheService#name}- Returns:
this
-
routeRule
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder routeRule(com.hashicorp.cdktf.IResolvable routeRule)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getRouteRule()- Parameters:
routeRule- route_rule block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#route_rule NetworkServicesEdgeCacheService#route_rule}- Returns:
this
-
routeRule
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder routeRule(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRule> routeRule)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getRouteRule()- Parameters:
routeRule- route_rule block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#route_rule NetworkServicesEdgeCacheService#route_rule}- Returns:
this
-
description
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcher.Builder description(String description)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcher.getDescription()- Parameters:
description- A human-readable description of the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#description NetworkServicesEdgeCacheService#description}- Returns:
this
-
build
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcher build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcher>- Returns:
- a new instance of
NetworkServicesEdgeCacheServiceRoutingPathMatcher - Throws:
NullPointerException- if any required attribute was not provided
-
-