Class DataAwsVpclatticeAuthPolicyConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.data_aws_vpclattice_auth_policy.DataAwsVpclatticeAuthPolicyConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataAwsVpclatticeAuthPolicyConfig>
- Enclosing interface:
- DataAwsVpclatticeAuthPolicyConfig
@Stability(Stable) public static final class DataAwsVpclatticeAuthPolicyConfig.Builder extends Object implements software.amazon.jsii.Builder<DataAwsVpclatticeAuthPolicyConfig>
A builder forDataAwsVpclatticeAuthPolicyConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAwsVpclatticeAuthPolicyConfigbuild()Builds the configured instance.DataAwsVpclatticeAuthPolicyConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsVpclatticeAuthPolicyConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsVpclatticeAuthPolicyConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataAwsVpclatticeAuthPolicyConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataAwsVpclatticeAuthPolicyConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataAwsVpclatticeAuthPolicyConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataAwsVpclatticeAuthPolicyConfig.Builderid(String id)Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getId()DataAwsVpclatticeAuthPolicyConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataAwsVpclatticeAuthPolicyConfig.Builderpolicy(String policy)Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getPolicy()DataAwsVpclatticeAuthPolicyConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataAwsVpclatticeAuthPolicyConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataAwsVpclatticeAuthPolicyConfig.BuilderresourceIdentifier(String resourceIdentifier)Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getResourceIdentifier()DataAwsVpclatticeAuthPolicyConfig.Builderstate(String state)Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getState()
-
-
-
Method Detail
-
resourceIdentifier
@Stability(Stable) public DataAwsVpclatticeAuthPolicyConfig.Builder resourceIdentifier(String resourceIdentifier)
Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getResourceIdentifier()- Parameters:
resourceIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/vpclattice_auth_policy#resource_identifier DataAwsVpclatticeAuthPolicy#resource_identifier}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataAwsVpclatticeAuthPolicyConfig.Builder id(String id)
Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/vpclattice_auth_policy#id DataAwsVpclatticeAuthPolicy#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
-
policy
@Stability(Stable) public DataAwsVpclatticeAuthPolicyConfig.Builder policy(String policy)
Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getPolicy()- Parameters:
policy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/vpclattice_auth_policy#policy DataAwsVpclatticeAuthPolicy#policy}.- Returns:
this
-
state
@Stability(Stable) public DataAwsVpclatticeAuthPolicyConfig.Builder state(String state)
Sets the value ofDataAwsVpclatticeAuthPolicyConfig.getState()- Parameters:
state- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/vpclattice_auth_policy#state DataAwsVpclatticeAuthPolicy#state}.- Returns:
this
-
connection
@Stability(Experimental) public DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.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 DataAwsVpclatticeAuthPolicyConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataAwsVpclatticeAuthPolicyConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataAwsVpclatticeAuthPolicyConfig>- Returns:
- a new instance of
DataAwsVpclatticeAuthPolicyConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-