Class NetworkServicesEdgeCacheServiceRouting.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRouting.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRouting>
- Enclosing interface:
- NetworkServicesEdgeCacheServiceRouting
@Stability(Stable) public static final class NetworkServicesEdgeCacheServiceRouting.Builder extends Object implements software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRouting>
A builder forNetworkServicesEdgeCacheServiceRouting
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkServicesEdgeCacheServiceRoutingbuild()Builds the configured instance.NetworkServicesEdgeCacheServiceRouting.BuilderhostRule(com.hashicorp.cdktf.IResolvable hostRule)Sets the value ofNetworkServicesEdgeCacheServiceRouting.getHostRule()NetworkServicesEdgeCacheServiceRouting.BuilderhostRule(List<? extends NetworkServicesEdgeCacheServiceRoutingHostRule> hostRule)Sets the value ofNetworkServicesEdgeCacheServiceRouting.getHostRule()NetworkServicesEdgeCacheServiceRouting.BuilderpathMatcher(com.hashicorp.cdktf.IResolvable pathMatcher)Sets the value ofNetworkServicesEdgeCacheServiceRouting.getPathMatcher()NetworkServicesEdgeCacheServiceRouting.BuilderpathMatcher(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcher> pathMatcher)Sets the value ofNetworkServicesEdgeCacheServiceRouting.getPathMatcher()
-
-
-
Method Detail
-
hostRule
@Stability(Stable) public NetworkServicesEdgeCacheServiceRouting.Builder hostRule(com.hashicorp.cdktf.IResolvable hostRule)
Sets the value ofNetworkServicesEdgeCacheServiceRouting.getHostRule()- Parameters:
hostRule- host_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#host_rule NetworkServicesEdgeCacheService#host_rule}- Returns:
this
-
hostRule
@Stability(Stable) public NetworkServicesEdgeCacheServiceRouting.Builder hostRule(List<? extends NetworkServicesEdgeCacheServiceRoutingHostRule> hostRule)
Sets the value ofNetworkServicesEdgeCacheServiceRouting.getHostRule()- Parameters:
hostRule- host_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#host_rule NetworkServicesEdgeCacheService#host_rule}- Returns:
this
-
pathMatcher
@Stability(Stable) public NetworkServicesEdgeCacheServiceRouting.Builder pathMatcher(com.hashicorp.cdktf.IResolvable pathMatcher)
Sets the value ofNetworkServicesEdgeCacheServiceRouting.getPathMatcher()- Parameters:
pathMatcher- path_matcher 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#path_matcher NetworkServicesEdgeCacheService#path_matcher}- Returns:
this
-
pathMatcher
@Stability(Stable) public NetworkServicesEdgeCacheServiceRouting.Builder pathMatcher(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcher> pathMatcher)
Sets the value ofNetworkServicesEdgeCacheServiceRouting.getPathMatcher()- Parameters:
pathMatcher- path_matcher 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#path_matcher NetworkServicesEdgeCacheService#path_matcher}- Returns:
this
-
build
@Stability(Stable) public NetworkServicesEdgeCacheServiceRouting build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRouting>- Returns:
- a new instance of
NetworkServicesEdgeCacheServiceRouting - Throws:
NullPointerException- if any required attribute was not provided
-
-