Class ComputeRegionBackendServiceConsistentHashHttpCookie.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_backend_service.ComputeRegionBackendServiceConsistentHashHttpCookie.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionBackendServiceConsistentHashHttpCookie>
- Enclosing interface:
- ComputeRegionBackendServiceConsistentHashHttpCookie
@Stability(Stable) public static final class ComputeRegionBackendServiceConsistentHashHttpCookie.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionBackendServiceConsistentHashHttpCookie>
A builder forComputeRegionBackendServiceConsistentHashHttpCookie
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionBackendServiceConsistentHashHttpCookiebuild()Builds the configured instance.ComputeRegionBackendServiceConsistentHashHttpCookie.Buildername(String name)Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getName()ComputeRegionBackendServiceConsistentHashHttpCookie.Builderpath(String path)Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getPath()ComputeRegionBackendServiceConsistentHashHttpCookie.Builderttl(ComputeRegionBackendServiceConsistentHashHttpCookieTtl ttl)Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getTtl()
-
-
-
Method Detail
-
name
@Stability(Stable) public ComputeRegionBackendServiceConsistentHashHttpCookie.Builder name(String name)
Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getName()- Parameters:
name- Name of the cookie. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#name ComputeRegionBackendService#name}- Returns:
this
-
path
@Stability(Stable) public ComputeRegionBackendServiceConsistentHashHttpCookie.Builder path(String path)
Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getPath()- Parameters:
path- Path to set for the cookie. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#path ComputeRegionBackendService#path}- Returns:
this
-
ttl
@Stability(Stable) public ComputeRegionBackendServiceConsistentHashHttpCookie.Builder ttl(ComputeRegionBackendServiceConsistentHashHttpCookieTtl ttl)
Sets the value ofComputeRegionBackendServiceConsistentHashHttpCookie.getTtl()- Parameters:
ttl- ttl block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#ttl ComputeRegionBackendService#ttl}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionBackendServiceConsistentHashHttpCookie build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionBackendServiceConsistentHashHttpCookie>- Returns:
- a new instance of
ComputeRegionBackendServiceConsistentHashHttpCookie - Throws:
NullPointerException- if any required attribute was not provided
-
-