Class SecurityposturePostureDeployment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.securityposture_posture_deployment.SecurityposturePostureDeployment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityposturePostureDeployment>
- Enclosing class:
- SecurityposturePostureDeployment
@Stability(Stable) public static final class SecurityposturePostureDeployment.Builder extends Object implements software.amazon.jsii.Builder<SecurityposturePostureDeployment>
A fluent builder forSecurityposturePostureDeployment.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityposturePostureDeploymentbuild()SecurityposturePostureDeployment.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SecurityposturePostureDeployment.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SecurityposturePostureDeployment.Buildercount(com.hashicorp.cdktf.TerraformCount count)SecurityposturePostureDeployment.Buildercount(Number count)static SecurityposturePostureDeployment.Buildercreate(software.constructs.Construct scope, String id)SecurityposturePostureDeployment.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SecurityposturePostureDeployment.Builderdescription(String description)Description of the posture deployment.SecurityposturePostureDeployment.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SecurityposturePostureDeployment.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#id SecurityposturePostureDeployment#id}.SecurityposturePostureDeployment.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SecurityposturePostureDeployment.Builderlocation(String location)The location of the resource, eg.SecurityposturePostureDeployment.Builderparent(String parent)The parent of the resource, an organization.SecurityposturePostureDeployment.BuilderpostureDeploymentId(String postureDeploymentId)ID of the posture deployment.SecurityposturePostureDeployment.BuilderpostureId(String postureId)Relative name of the posture which needs to be deployed.SecurityposturePostureDeployment.BuilderpostureRevisionId(String postureRevisionId)Revision_id the posture which needs to be deployed.SecurityposturePostureDeployment.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SecurityposturePostureDeployment.Builderprovisioners(List<? extends Object> provisioners)SecurityposturePostureDeployment.BuildertargetResource(String targetResource)The resource on which the posture should be deployed.SecurityposturePostureDeployment.Buildertimeouts(SecurityposturePostureDeploymentTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SecurityposturePostureDeployment.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
SecurityposturePostureDeployment.Builder.
-
connection
@Stability(Experimental) public SecurityposturePostureDeployment.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SecurityposturePostureDeployment.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SecurityposturePostureDeployment.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SecurityposturePostureDeployment.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SecurityposturePostureDeployment.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SecurityposturePostureDeployment.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SecurityposturePostureDeployment.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SecurityposturePostureDeployment.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SecurityposturePostureDeployment.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public SecurityposturePostureDeployment.Builder location(String location)
The 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_deployment#location SecurityposturePostureDeployment#location}
- Parameters:
location- The location of the resource, eg. global'. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public SecurityposturePostureDeployment.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_deployment#parent SecurityposturePostureDeployment#parent}
- Parameters:
parent- The parent of the resource, an organization. Format should be 'organizations/{organization_id}'. This parameter is required.- Returns:
this
-
postureDeploymentId
@Stability(Stable) public SecurityposturePostureDeployment.Builder postureDeploymentId(String postureDeploymentId)
ID of the posture deployment.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_deployment_id SecurityposturePostureDeployment#posture_deployment_id}
- Parameters:
postureDeploymentId- ID of the posture deployment. This parameter is required.- Returns:
this
-
postureId
@Stability(Stable) public SecurityposturePostureDeployment.Builder postureId(String postureId)
Relative name of the posture which needs to be deployed. It should be in the format: organizations/{organization_id}/locations/{location}/postures/{posture_id}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_id SecurityposturePostureDeployment#posture_id}
- Parameters:
postureId- Relative name of the posture which needs to be deployed. It should be in the format: organizations/{organization_id}/locations/{location}/postures/{posture_id}. This parameter is required.- Returns:
this
-
postureRevisionId
@Stability(Stable) public SecurityposturePostureDeployment.Builder postureRevisionId(String postureRevisionId)
Revision_id the posture which needs to be deployed.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_revision_id SecurityposturePostureDeployment#posture_revision_id}
- Parameters:
postureRevisionId- Revision_id the posture which needs to be deployed. This parameter is required.- Returns:
this
-
targetResource
@Stability(Stable) public SecurityposturePostureDeployment.Builder targetResource(String targetResource)
The resource on which the posture should be deployed. This can be in one of the following formats: projects/{project_number}, folders/{folder_number}, organizations/{organization_id}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#target_resource SecurityposturePostureDeployment#target_resource}
- Parameters:
targetResource- The resource on which the posture should be deployed. This can be in one of the following formats: projects/{project_number}, folders/{folder_number}, organizations/{organization_id}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public SecurityposturePostureDeployment.Builder description(String description)
Description of the posture deployment.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#description SecurityposturePostureDeployment#description}
- Parameters:
description- Description of the posture deployment. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SecurityposturePostureDeployment.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#id SecurityposturePostureDeployment#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_deployment#id SecurityposturePostureDeployment#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SecurityposturePostureDeployment.Builder timeouts(SecurityposturePostureDeploymentTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#timeouts SecurityposturePostureDeployment#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SecurityposturePostureDeployment build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityposturePostureDeployment>- Returns:
- a newly built instance of
SecurityposturePostureDeployment.
-
-