Class BigqueryDatasetAccessAConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_dataset_access.BigqueryDatasetAccessAConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryDatasetAccessAConfig>
- Enclosing interface:
- BigqueryDatasetAccessAConfig
@Stability(Stable) public static final class BigqueryDatasetAccessAConfig.Builder extends Object implements software.amazon.jsii.Builder<BigqueryDatasetAccessAConfig>
A builder forBigqueryDatasetAccessAConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
datasetId
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder datasetId(String datasetId)
Sets the value ofBigqueryDatasetAccessAConfig.getDatasetId()- Parameters:
datasetId- A unique ID for this dataset, without the project name. This parameter is required. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#dataset_id BigqueryDatasetAccessA#dataset_id}- Returns:
this
-
dataset
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder dataset(BigqueryDatasetAccessDatasetA dataset)
Sets the value ofBigqueryDatasetAccessAConfig.getDataset()- Parameters:
dataset- dataset block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#dataset BigqueryDatasetAccessA#dataset}- Returns:
this
-
domain
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder domain(String domain)
Sets the value ofBigqueryDatasetAccessAConfig.getDomain()- Parameters:
domain- A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#domain BigqueryDatasetAccessA#domain}- Returns:
this
-
groupByEmail
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder groupByEmail(String groupByEmail)
Sets the value ofBigqueryDatasetAccessAConfig.getGroupByEmail()- Parameters:
groupByEmail- An email address of a Google Group to grant access to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#group_by_email BigqueryDatasetAccessA#group_by_email}- Returns:
this
-
iamMember
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder iamMember(String iamMember)
Sets the value ofBigqueryDatasetAccessAConfig.getIamMember()- Parameters:
iamMember- Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. For example: 'allUsers' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#iam_member BigqueryDatasetAccessA#iam_member}- Returns:
this
-
id
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder id(String id)
Sets the value ofBigqueryDatasetAccessAConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#id BigqueryDatasetAccessA#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
-
project
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder project(String project)
Sets the value ofBigqueryDatasetAccessAConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#project BigqueryDatasetAccessA#project}.- Returns:
this
-
role
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder role(String role)
Sets the value ofBigqueryDatasetAccessAConfig.getRole()- Parameters:
role- Describes the rights granted to the user specified by the other member of the access object. Basic, predefined, and custom roles are supported. Predefined roles that have equivalent basic roles are swapped by the API to their basic counterparts, and will show a diff post-create. See [official docs](https://cloud.google.com/bigquery/docs/access-control). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#role BigqueryDatasetAccessA#role}- Returns:
this
-
routine
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder routine(BigqueryDatasetAccessRoutineA routine)
Sets the value ofBigqueryDatasetAccessAConfig.getRoutine()- Parameters:
routine- routine block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#routine BigqueryDatasetAccessA#routine}- Returns:
this
-
specialGroup
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder specialGroup(String specialGroup)
Sets the value ofBigqueryDatasetAccessAConfig.getSpecialGroup()- Parameters:
specialGroup- A special group to grant access to. Possible values include: * 'projectOwners': Owners of the enclosing project. * 'projectReaders': Readers of the enclosing project. * 'projectWriters': Writers of the enclosing project. * 'allAuthenticatedUsers': All authenticated BigQuery users. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#special_group BigqueryDatasetAccessA#special_group}- Returns:
this
-
timeouts
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder timeouts(BigqueryDatasetAccessTimeouts timeouts)
Sets the value ofBigqueryDatasetAccessAConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#timeouts BigqueryDatasetAccessA#timeouts}- Returns:
this
-
userByEmail
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder userByEmail(String userByEmail)
Sets the value ofBigqueryDatasetAccessAConfig.getUserByEmail()- Parameters:
userByEmail- An email address of a user to grant access to. For example: fred@example.com. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#user_by_email BigqueryDatasetAccessA#user_by_email}- Returns:
this
-
view
@Stability(Stable) public BigqueryDatasetAccessAConfig.Builder view(BigqueryDatasetAccessViewA view)
Sets the value ofBigqueryDatasetAccessAConfig.getView()- Parameters:
view- view block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset_access#view BigqueryDatasetAccessA#view}- Returns:
this
-
connection
@Stability(Experimental) public BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.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 BigqueryDatasetAccessAConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigqueryDatasetAccessAConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryDatasetAccessAConfig>- Returns:
- a new instance of
BigqueryDatasetAccessAConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-