Class DataAwsInternetGatewayConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.data_aws_internet_gateway.DataAwsInternetGatewayConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataAwsInternetGatewayConfig>
- Enclosing interface:
- DataAwsInternetGatewayConfig
@Stability(Stable) public static final class DataAwsInternetGatewayConfig.Builder extends Object implements software.amazon.jsii.Builder<DataAwsInternetGatewayConfig>
A builder forDataAwsInternetGatewayConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAwsInternetGatewayConfigbuild()Builds the configured instance.DataAwsInternetGatewayConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsInternetGatewayConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsInternetGatewayConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataAwsInternetGatewayConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataAwsInternetGatewayConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataAwsInternetGatewayConfig.Builderfilter(com.hashicorp.cdktf.IResolvable filter)Sets the value ofDataAwsInternetGatewayConfig.getFilter()DataAwsInternetGatewayConfig.Builderfilter(List<? extends DataAwsInternetGatewayFilter> filter)Sets the value ofDataAwsInternetGatewayConfig.getFilter()DataAwsInternetGatewayConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataAwsInternetGatewayConfig.Builderid(String id)Sets the value ofDataAwsInternetGatewayConfig.getId()DataAwsInternetGatewayConfig.BuilderinternetGatewayId(String internetGatewayId)Sets the value ofDataAwsInternetGatewayConfig.getInternetGatewayId()DataAwsInternetGatewayConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataAwsInternetGatewayConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataAwsInternetGatewayConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataAwsInternetGatewayConfig.Buildertags(Map<String,String> tags)Sets the value ofDataAwsInternetGatewayConfig.getTags()DataAwsInternetGatewayConfig.Buildertimeouts(DataAwsInternetGatewayTimeouts timeouts)Sets the value ofDataAwsInternetGatewayConfig.getTimeouts()
-
-
-
Method Detail
-
filter
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder filter(com.hashicorp.cdktf.IResolvable filter)
Sets the value ofDataAwsInternetGatewayConfig.getFilter()- Parameters:
filter- filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#filter DataAwsInternetGateway#filter}- Returns:
this
-
filter
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder filter(List<? extends DataAwsInternetGatewayFilter> filter)
Sets the value ofDataAwsInternetGatewayConfig.getFilter()- Parameters:
filter- filter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#filter DataAwsInternetGateway#filter}- Returns:
this
-
id
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder id(String id)
Sets the value ofDataAwsInternetGatewayConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#id DataAwsInternetGateway#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
-
internetGatewayId
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder internetGatewayId(String internetGatewayId)
Sets the value ofDataAwsInternetGatewayConfig.getInternetGatewayId()- Parameters:
internetGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#internet_gateway_id DataAwsInternetGateway#internet_gateway_id}.- Returns:
this
-
tags
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder tags(Map<String,String> tags)
Sets the value ofDataAwsInternetGatewayConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#tags DataAwsInternetGateway#tags}.- Returns:
this
-
timeouts
@Stability(Stable) public DataAwsInternetGatewayConfig.Builder timeouts(DataAwsInternetGatewayTimeouts timeouts)
Sets the value ofDataAwsInternetGatewayConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/internet_gateway#timeouts DataAwsInternetGateway#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.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 DataAwsInternetGatewayConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataAwsInternetGatewayConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataAwsInternetGatewayConfig>- Returns:
- a new instance of
DataAwsInternetGatewayConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-