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