Class AccessContextManagerGcpUserAccessBindingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_gcp_user_access_binding.AccessContextManagerGcpUserAccessBindingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerGcpUserAccessBindingConfig>
- Enclosing interface:
- AccessContextManagerGcpUserAccessBindingConfig
@Stability(Stable) public static final class AccessContextManagerGcpUserAccessBindingConfig.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerGcpUserAccessBindingConfig>
A builder forAccessContextManagerGcpUserAccessBindingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessLevels
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig.Builder accessLevels(List<String> accessLevels)
Sets the value ofAccessContextManagerGcpUserAccessBindingConfig.getAccessLevels()- Parameters:
accessLevels- Required. This parameter is required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_gcp_user_access_binding#access_levels AccessContextManagerGcpUserAccessBinding#access_levels}- Returns:
this
-
groupKey
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig.Builder groupKey(String groupKey)
Sets the value ofAccessContextManagerGcpUserAccessBindingConfig.getGroupKey()- Parameters:
groupKey- Required. This parameter is required. Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the G Suite Directory API's Groups resource. If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht" Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_gcp_user_access_binding#group_key AccessContextManagerGcpUserAccessBinding#group_key}- Returns:
this
-
organizationId
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig.Builder organizationId(String organizationId)
Sets the value ofAccessContextManagerGcpUserAccessBindingConfig.getOrganizationId()- Parameters:
organizationId- Required. ID of the parent organization. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_gcp_user_access_binding#organization_id AccessContextManagerGcpUserAccessBinding#organization_id}- Returns:
this
-
id
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig.Builder id(String id)
Sets the value ofAccessContextManagerGcpUserAccessBindingConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_gcp_user_access_binding#id AccessContextManagerGcpUserAccessBinding#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
-
timeouts
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig.Builder timeouts(AccessContextManagerGcpUserAccessBindingTimeouts timeouts)
Sets the value ofAccessContextManagerGcpUserAccessBindingConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_gcp_user_access_binding#timeouts AccessContextManagerGcpUserAccessBinding#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.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 AccessContextManagerGcpUserAccessBindingConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerGcpUserAccessBindingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerGcpUserAccessBindingConfig>- Returns:
- a new instance of
AccessContextManagerGcpUserAccessBindingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-