Class AccessContextManagerAccessPolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_access_policy.AccessContextManagerAccessPolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerAccessPolicy>
- Enclosing class:
- AccessContextManagerAccessPolicy
@Stability(Stable) public static final class AccessContextManagerAccessPolicy.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerAccessPolicy>
A fluent builder forAccessContextManagerAccessPolicy.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessContextManagerAccessPolicybuild()AccessContextManagerAccessPolicy.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)AccessContextManagerAccessPolicy.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)AccessContextManagerAccessPolicy.Buildercount(com.hashicorp.cdktf.TerraformCount count)AccessContextManagerAccessPolicy.Buildercount(Number count)static AccessContextManagerAccessPolicy.Buildercreate(software.constructs.Construct scope, String id)AccessContextManagerAccessPolicy.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)AccessContextManagerAccessPolicy.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)AccessContextManagerAccessPolicy.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#id AccessContextManagerAccessPolicy#id}.AccessContextManagerAccessPolicy.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)AccessContextManagerAccessPolicy.Builderparent(String parent)The parent of this AccessPolicy in the Cloud Resource Hierarchy.AccessContextManagerAccessPolicy.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)AccessContextManagerAccessPolicy.Builderprovisioners(List<? extends Object> provisioners)AccessContextManagerAccessPolicy.Builderscopes(List<String> scopes)Folder or project on which this policy is applicable.AccessContextManagerAccessPolicy.Buildertimeouts(AccessContextManagerAccessPolicyTimeouts timeouts)timeouts block.AccessContextManagerAccessPolicy.Buildertitle(String title)Human readable title.
-
-
-
Method Detail
-
create
@Stability(Stable) public static AccessContextManagerAccessPolicy.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
AccessContextManagerAccessPolicy.Builder.
-
connection
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public AccessContextManagerAccessPolicy.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public AccessContextManagerAccessPolicy.Builder parent(String parent)
The parent of this AccessPolicy in the Cloud Resource Hierarchy. Format: 'organizations/{{organization_id}}'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#parent AccessContextManagerAccessPolicy#parent}
- Parameters:
parent- The parent of this AccessPolicy in the Cloud Resource Hierarchy. Format: 'organizations/{{organization_id}}'. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public AccessContextManagerAccessPolicy.Builder title(String title)
Human readable title. Does not affect behavior.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#title AccessContextManagerAccessPolicy#title}
- Parameters:
title- Human readable title. Does not affect behavior. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AccessContextManagerAccessPolicy.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#id AccessContextManagerAccessPolicy#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#id AccessContextManagerAccessPolicy#id}. This parameter is required.- Returns:
this
-
scopes
@Stability(Stable) public AccessContextManagerAccessPolicy.Builder scopes(List<String> scopes)
Folder or project on which this policy is applicable. Format: 'folders/{{folder_id}}' or 'projects/{{project_number}}'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#scopes AccessContextManagerAccessPolicy#scopes}
- Parameters:
scopes- Folder or project on which this policy is applicable. Format: 'folders/{{folder_id}}' or 'projects/{{project_number}}'. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public AccessContextManagerAccessPolicy.Builder timeouts(AccessContextManagerAccessPolicyTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_policy#timeouts AccessContextManagerAccessPolicy#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerAccessPolicy build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerAccessPolicy>- Returns:
- a newly built instance of
AccessContextManagerAccessPolicy.
-
-