Class BigqueryDatasetAccess.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_dataset.BigqueryDatasetAccess.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryDatasetAccess>
- Enclosing interface:
- BigqueryDatasetAccess
@Stability(Stable) public static final class BigqueryDatasetAccess.Builder extends Object implements software.amazon.jsii.Builder<BigqueryDatasetAccess>
A builder forBigqueryDatasetAccess
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
dataset
@Stability(Stable) public BigqueryDatasetAccess.Builder dataset(BigqueryDatasetAccessDataset dataset)
Sets the value ofBigqueryDatasetAccess.getDataset()- Parameters:
dataset- dataset block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset#dataset BigqueryDataset#dataset}- Returns:
this
-
domain
@Stability(Stable) public BigqueryDatasetAccess.Builder domain(String domain)
Sets the value ofBigqueryDatasetAccess.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#domain BigqueryDataset#domain}- Returns:
this
-
groupByEmail
@Stability(Stable) public BigqueryDatasetAccess.Builder groupByEmail(String groupByEmail)
Sets the value ofBigqueryDatasetAccess.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#group_by_email BigqueryDataset#group_by_email}- Returns:
this
-
iamMember
@Stability(Stable) public BigqueryDatasetAccess.Builder iamMember(String iamMember)
Sets the value ofBigqueryDatasetAccess.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#iam_member BigqueryDataset#iam_member}- Returns:
this
-
role
@Stability(Stable) public BigqueryDatasetAccess.Builder role(String role)
Sets the value ofBigqueryDatasetAccess.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. 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#role BigqueryDataset#role}- Returns:
this
-
routine
@Stability(Stable) public BigqueryDatasetAccess.Builder routine(BigqueryDatasetAccessRoutine routine)
Sets the value ofBigqueryDatasetAccess.getRoutine()- Parameters:
routine- routine block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset#routine BigqueryDataset#routine}- Returns:
this
-
specialGroup
@Stability(Stable) public BigqueryDatasetAccess.Builder specialGroup(String specialGroup)
Sets the value ofBigqueryDatasetAccess.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#special_group BigqueryDataset#special_group}- Returns:
this
-
userByEmail
@Stability(Stable) public BigqueryDatasetAccess.Builder userByEmail(String userByEmail)
Sets the value ofBigqueryDatasetAccess.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#user_by_email BigqueryDataset#user_by_email}- Returns:
this
-
view
@Stability(Stable) public BigqueryDatasetAccess.Builder view(BigqueryDatasetAccessView view)
Sets the value ofBigqueryDatasetAccess.getView()- Parameters:
view- view block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_dataset#view BigqueryDataset#view}- Returns:
this
-
build
@Stability(Stable) public BigqueryDatasetAccess build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryDatasetAccess>- Returns:
- a new instance of
BigqueryDatasetAccess - Throws:
NullPointerException- if any required attribute was not provided
-
-