Class DataGoogleServiceAccountIdTokenConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_service_account_id_token.DataGoogleServiceAccountIdTokenConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleServiceAccountIdTokenConfig>
- Enclosing interface:
- DataGoogleServiceAccountIdTokenConfig
@Stability(Stable) public static final class DataGoogleServiceAccountIdTokenConfig.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleServiceAccountIdTokenConfig>
A builder forDataGoogleServiceAccountIdTokenConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
targetAudience
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder targetAudience(String targetAudience)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getTargetAudience()- Parameters:
targetAudience- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#target_audience DataGoogleServiceAccountIdToken#target_audience}. This parameter is required.- Returns:
this
-
delegates
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder delegates(List<String> delegates)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getDelegates()- Parameters:
delegates- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#delegates DataGoogleServiceAccountIdToken#delegates}.- Returns:
this
-
id
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder id(String id)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#id DataGoogleServiceAccountIdToken#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
includeEmail
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder includeEmail(Boolean includeEmail)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getIncludeEmail()- Parameters:
includeEmail- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#include_email DataGoogleServiceAccountIdToken#include_email}.- Returns:
this
-
includeEmail
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder includeEmail(com.hashicorp.cdktf.IResolvable includeEmail)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getIncludeEmail()- Parameters:
includeEmail- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#include_email DataGoogleServiceAccountIdToken#include_email}.- Returns:
this
-
targetServiceAccount
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig.Builder targetServiceAccount(String targetServiceAccount)
Sets the value ofDataGoogleServiceAccountIdTokenConfig.getTargetServiceAccount()- Parameters:
targetServiceAccount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/service_account_id_token#target_service_account DataGoogleServiceAccountIdToken#target_service_account}.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleServiceAccountIdTokenConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataGoogleServiceAccountIdTokenConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleServiceAccountIdTokenConfig>- Returns:
- a new instance of
DataGoogleServiceAccountIdTokenConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-