Class Macie2AccountConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.macie2_account.Macie2AccountConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Macie2AccountConfig>
- Enclosing interface:
- Macie2AccountConfig
@Stability(Stable) public static final class Macie2AccountConfig.Builder extends Object implements software.amazon.jsii.Builder<Macie2AccountConfig>
A builder forMacie2AccountConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Macie2AccountConfigbuild()Builds the configured instance.Macie2AccountConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Macie2AccountConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Macie2AccountConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()Macie2AccountConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()Macie2AccountConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()Macie2AccountConfig.BuilderfindingPublishingFrequency(String findingPublishingFrequency)Sets the value ofMacie2AccountConfig.getFindingPublishingFrequency()Macie2AccountConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()Macie2AccountConfig.Builderid(String id)Sets the value ofMacie2AccountConfig.getId()Macie2AccountConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()Macie2AccountConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()Macie2AccountConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()Macie2AccountConfig.Builderstatus(String status)Sets the value ofMacie2AccountConfig.getStatus()
-
-
-
Method Detail
-
findingPublishingFrequency
@Stability(Stable) public Macie2AccountConfig.Builder findingPublishingFrequency(String findingPublishingFrequency)
Sets the value ofMacie2AccountConfig.getFindingPublishingFrequency()- Parameters:
findingPublishingFrequency- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/macie2_account#finding_publishing_frequency Macie2Account#finding_publishing_frequency}.- Returns:
this
-
id
@Stability(Stable) public Macie2AccountConfig.Builder id(String id)
Sets the value ofMacie2AccountConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/macie2_account#id Macie2Account#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
-
status
@Stability(Stable) public Macie2AccountConfig.Builder status(String status)
Sets the value ofMacie2AccountConfig.getStatus()- Parameters:
status- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/macie2_account#status Macie2Account#status}.- Returns:
this
-
connection
@Stability(Experimental) public Macie2AccountConfig.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 Macie2AccountConfig.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 Macie2AccountConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Macie2AccountConfig.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 Macie2AccountConfig.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 Macie2AccountConfig.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 Macie2AccountConfig.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 Macie2AccountConfig.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 Macie2AccountConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public Macie2AccountConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Macie2AccountConfig>- Returns:
- a new instance of
Macie2AccountConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-