Class ShieldProtection.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.shield_protection.ShieldProtection.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ShieldProtection>
- Enclosing class:
- ShieldProtection
@Stability(Stable) public static final class ShieldProtection.Builder extends Object implements software.amazon.jsii.Builder<ShieldProtection>
A fluent builder forShieldProtection.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ShieldProtectionbuild()ShieldProtection.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ShieldProtection.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ShieldProtection.Buildercount(com.hashicorp.cdktf.TerraformCount count)ShieldProtection.Buildercount(Number count)static ShieldProtection.Buildercreate(software.constructs.Construct scope, String id)ShieldProtection.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ShieldProtection.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ShieldProtection.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#id ShieldProtection#id}.ShieldProtection.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ShieldProtection.Buildername(String name)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#name ShieldProtection#name}.ShieldProtection.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ShieldProtection.Builderprovisioners(List<? extends Object> provisioners)ShieldProtection.BuilderresourceArn(String resourceArn)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#resource_arn ShieldProtection#resource_arn}.ShieldProtection.Buildertags(Map<String,String> tags)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags ShieldProtection#tags}.ShieldProtection.BuildertagsAll(Map<String,String> tagsAll)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags_all ShieldProtection#tags_all}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ShieldProtection.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
ShieldProtection.Builder.
-
connection
@Stability(Experimental) public ShieldProtection.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ShieldProtection.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ShieldProtection.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ShieldProtection.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ShieldProtection.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ShieldProtection.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ShieldProtection.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ShieldProtection.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ShieldProtection.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ShieldProtection.Builder name(String name)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#name ShieldProtection#name}.- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#name ShieldProtection#name}. This parameter is required.- Returns:
this
-
resourceArn
@Stability(Stable) public ShieldProtection.Builder resourceArn(String resourceArn)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#resource_arn ShieldProtection#resource_arn}.- Parameters:
resourceArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#resource_arn ShieldProtection#resource_arn}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ShieldProtection.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#id ShieldProtection#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/aws/5.6.1/docs/resources/shield_protection#id ShieldProtection#id}. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public ShieldProtection.Builder tags(Map<String,String> tags)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags ShieldProtection#tags}.- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags ShieldProtection#tags}. This parameter is required.- Returns:
this
-
tagsAll
@Stability(Stable) public ShieldProtection.Builder tagsAll(Map<String,String> tagsAll)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags_all ShieldProtection#tags_all}.- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/shield_protection#tags_all ShieldProtection#tags_all}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ShieldProtection build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ShieldProtection>- Returns:
- a newly built instance of
ShieldProtection.
-
-