Class LookerInstanceOauthConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.looker_instance.LookerInstanceOauthConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LookerInstanceOauthConfig>
- Enclosing interface:
- LookerInstanceOauthConfig
@Stability(Stable) public static final class LookerInstanceOauthConfig.Builder extends Object implements software.amazon.jsii.Builder<LookerInstanceOauthConfig>
A builder forLookerInstanceOauthConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LookerInstanceOauthConfigbuild()Builds the configured instance.LookerInstanceOauthConfig.BuilderclientId(String clientId)Sets the value ofLookerInstanceOauthConfig.getClientId()LookerInstanceOauthConfig.BuilderclientSecret(String clientSecret)Sets the value ofLookerInstanceOauthConfig.getClientSecret()
-
-
-
Method Detail
-
clientId
@Stability(Stable) public LookerInstanceOauthConfig.Builder clientId(String clientId)
Sets the value ofLookerInstanceOauthConfig.getClientId()- Parameters:
clientId- The client ID for the Oauth config. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#client_id LookerInstance#client_id}- Returns:
this
-
clientSecret
@Stability(Stable) public LookerInstanceOauthConfig.Builder clientSecret(String clientSecret)
Sets the value ofLookerInstanceOauthConfig.getClientSecret()- Parameters:
clientSecret- The client secret for the Oauth config. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#client_secret LookerInstance#client_secret}- Returns:
this
-
build
@Stability(Stable) public LookerInstanceOauthConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LookerInstanceOauthConfig>- Returns:
- a new instance of
LookerInstanceOauthConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-