Class ComputeBackendServiceIap.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_backend_service.ComputeBackendServiceIap.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeBackendServiceIap>
- Enclosing interface:
- ComputeBackendServiceIap
@Stability(Stable) public static final class ComputeBackendServiceIap.Builder extends Object implements software.amazon.jsii.Builder<ComputeBackendServiceIap>
A builder forComputeBackendServiceIap
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeBackendServiceIapbuild()Builds the configured instance.ComputeBackendServiceIap.Builderoauth2ClientId(String oauth2ClientId)Sets the value ofComputeBackendServiceIap.getOauth2ClientId()ComputeBackendServiceIap.Builderoauth2ClientSecret(String oauth2ClientSecret)Sets the value ofComputeBackendServiceIap.getOauth2ClientSecret()
-
-
-
Method Detail
-
oauth2ClientId
@Stability(Stable) public ComputeBackendServiceIap.Builder oauth2ClientId(String oauth2ClientId)
Sets the value ofComputeBackendServiceIap.getOauth2ClientId()- Parameters:
oauth2ClientId- OAuth2 Client ID for IAP. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#oauth2_client_id ComputeBackendService#oauth2_client_id}- Returns:
this
-
oauth2ClientSecret
@Stability(Stable) public ComputeBackendServiceIap.Builder oauth2ClientSecret(String oauth2ClientSecret)
Sets the value ofComputeBackendServiceIap.getOauth2ClientSecret()- Parameters:
oauth2ClientSecret- OAuth2 Client Secret for IAP. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#oauth2_client_secret ComputeBackendService#oauth2_client_secret}- Returns:
this
-
build
@Stability(Stable) public ComputeBackendServiceIap build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeBackendServiceIap>- Returns:
- a new instance of
ComputeBackendServiceIap - Throws:
NullPointerException- if any required attribute was not provided
-
-