Class SecurityposturePosture.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.securityposture_posture.SecurityposturePosture.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityposturePosture>
- Enclosing class:
- SecurityposturePosture
@Stability(Stable) public static final class SecurityposturePosture.Builder extends Object implements software.amazon.jsii.Builder<SecurityposturePosture>
A fluent builder forSecurityposturePosture.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityposturePosturebuild()SecurityposturePosture.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SecurityposturePosture.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SecurityposturePosture.Buildercount(com.hashicorp.cdktf.TerraformCount count)SecurityposturePosture.Buildercount(Number count)static SecurityposturePosture.Buildercreate(software.constructs.Construct scope, String id)SecurityposturePosture.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SecurityposturePosture.Builderdescription(String description)Description of the posture.SecurityposturePosture.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SecurityposturePosture.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#id SecurityposturePosture#id}.SecurityposturePosture.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SecurityposturePosture.Builderlocation(String location)Location of the resource, eg: global.SecurityposturePosture.Builderparent(String parent)The parent of the resource, an organization.SecurityposturePosture.BuilderpolicySets(com.hashicorp.cdktf.IResolvable policySets)policy_sets block.SecurityposturePosture.BuilderpolicySets(List<? extends SecurityposturePosturePolicySets> policySets)policy_sets block.SecurityposturePosture.BuilderpostureId(String postureId)Id of the posture.SecurityposturePosture.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SecurityposturePosture.Builderprovisioners(List<? extends Object> provisioners)SecurityposturePosture.Builderstate(String state)State of the posture.SecurityposturePosture.Buildertimeouts(SecurityposturePostureTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SecurityposturePosture.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
SecurityposturePosture.Builder.
-
connection
@Stability(Experimental) public SecurityposturePosture.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SecurityposturePosture.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SecurityposturePosture.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SecurityposturePosture.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SecurityposturePosture.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SecurityposturePosture.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SecurityposturePosture.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SecurityposturePosture.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SecurityposturePosture.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public SecurityposturePosture.Builder location(String location)
Location of the resource, eg: global.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#location SecurityposturePosture#location}
- Parameters:
location- Location of the resource, eg: global. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public SecurityposturePosture.Builder parent(String parent)
The parent of the resource, an organization. Format should be 'organizations/{organization_id}'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#parent SecurityposturePosture#parent}
- Parameters:
parent- The parent of the resource, an organization. Format should be 'organizations/{organization_id}'. This parameter is required.- Returns:
this
-
policySets
@Stability(Stable) public SecurityposturePosture.Builder policySets(com.hashicorp.cdktf.IResolvable policySets)
policy_sets block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#policy_sets SecurityposturePosture#policy_sets}
- Parameters:
policySets- policy_sets block. This parameter is required.- Returns:
this
-
policySets
@Stability(Stable) public SecurityposturePosture.Builder policySets(List<? extends SecurityposturePosturePolicySets> policySets)
policy_sets block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#policy_sets SecurityposturePosture#policy_sets}
- Parameters:
policySets- policy_sets block. This parameter is required.- Returns:
this
-
postureId
@Stability(Stable) public SecurityposturePosture.Builder postureId(String postureId)
Id of the posture. It is an immutable field.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#posture_id SecurityposturePosture#posture_id}
- Parameters:
postureId- Id of the posture. It is an immutable field. This parameter is required.- Returns:
this
-
state
@Stability(Stable) public SecurityposturePosture.Builder state(String state)
State of the posture.Update to state field should not be triggered along with with other field updates. Possible values: ["DEPRECATED", "DRAFT", "ACTIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#state SecurityposturePosture#state}
- Parameters:
state- State of the posture. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public SecurityposturePosture.Builder description(String description)
Description of the posture.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#description SecurityposturePosture#description}
- Parameters:
description- Description of the posture. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SecurityposturePosture.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#id SecurityposturePosture#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/securityposture_posture#id SecurityposturePosture#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SecurityposturePosture.Builder timeouts(SecurityposturePostureTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#timeouts SecurityposturePosture#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SecurityposturePosture build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityposturePosture>- Returns:
- a newly built instance of
SecurityposturePosture.
-
-