Class ComputeBackendServiceConsistentHashHttpCookie.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_backend_service.ComputeBackendServiceConsistentHashHttpCookie.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeBackendServiceConsistentHashHttpCookie>
- Enclosing interface:
- ComputeBackendServiceConsistentHashHttpCookie
@Stability(Stable) public static final class ComputeBackendServiceConsistentHashHttpCookie.Builder extends Object implements software.amazon.jsii.Builder<ComputeBackendServiceConsistentHashHttpCookie>
A builder forComputeBackendServiceConsistentHashHttpCookie
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeBackendServiceConsistentHashHttpCookiebuild()Builds the configured instance.ComputeBackendServiceConsistentHashHttpCookie.Buildername(String name)Sets the value ofComputeBackendServiceConsistentHashHttpCookie.getName()ComputeBackendServiceConsistentHashHttpCookie.Builderpath(String path)Sets the value ofComputeBackendServiceConsistentHashHttpCookie.getPath()ComputeBackendServiceConsistentHashHttpCookie.Builderttl(ComputeBackendServiceConsistentHashHttpCookieTtl ttl)Sets the value ofComputeBackendServiceConsistentHashHttpCookie.getTtl()
-
-
-
Method Detail
-
name
@Stability(Stable) public ComputeBackendServiceConsistentHashHttpCookie.Builder name(String name)
Sets the value ofComputeBackendServiceConsistentHashHttpCookie.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_backend_service#name ComputeBackendService#name}- Returns:
this
-
path
@Stability(Stable) public ComputeBackendServiceConsistentHashHttpCookie.Builder path(String path)
Sets the value ofComputeBackendServiceConsistentHashHttpCookie.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_backend_service#path ComputeBackendService#path}- Returns:
this
-
ttl
@Stability(Stable) public ComputeBackendServiceConsistentHashHttpCookie.Builder ttl(ComputeBackendServiceConsistentHashHttpCookieTtl ttl)
Sets the value ofComputeBackendServiceConsistentHashHttpCookie.getTtl()- Parameters:
ttl- ttl block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#ttl ComputeBackendService#ttl}- Returns:
this
-
build
@Stability(Stable) public ComputeBackendServiceConsistentHashHttpCookie build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeBackendServiceConsistentHashHttpCookie>- Returns:
- a new instance of
ComputeBackendServiceConsistentHashHttpCookie - Throws:
NullPointerException- if any required attribute was not provided
-
-