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