Class S3OutpostsEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.s3_outposts_endpoint.S3OutpostsEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3OutpostsEndpointConfig>
- Enclosing interface:
- S3OutpostsEndpointConfig
@Stability(Stable) public static final class S3OutpostsEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<S3OutpostsEndpointConfig>
A builder forS3OutpostsEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3OutpostsEndpointConfig.BuilderaccessType(String accessType)Sets the value ofS3OutpostsEndpointConfig.getAccessType()S3OutpostsEndpointConfigbuild()Builds the configured instance.S3OutpostsEndpointConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()S3OutpostsEndpointConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()S3OutpostsEndpointConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()S3OutpostsEndpointConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()S3OutpostsEndpointConfig.BuildercustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)Sets the value ofS3OutpostsEndpointConfig.getCustomerOwnedIpv4Pool()S3OutpostsEndpointConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()S3OutpostsEndpointConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()S3OutpostsEndpointConfig.Builderid(String id)Sets the value ofS3OutpostsEndpointConfig.getId()S3OutpostsEndpointConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()S3OutpostsEndpointConfig.BuilderoutpostId(String outpostId)Sets the value ofS3OutpostsEndpointConfig.getOutpostId()S3OutpostsEndpointConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()S3OutpostsEndpointConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()S3OutpostsEndpointConfig.BuildersecurityGroupId(String securityGroupId)Sets the value ofS3OutpostsEndpointConfig.getSecurityGroupId()S3OutpostsEndpointConfig.BuildersubnetId(String subnetId)Sets the value ofS3OutpostsEndpointConfig.getSubnetId()
-
-
-
Method Detail
-
outpostId
@Stability(Stable) public S3OutpostsEndpointConfig.Builder outpostId(String outpostId)
Sets the value ofS3OutpostsEndpointConfig.getOutpostId()- Parameters:
outpostId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#outpost_id S3OutpostsEndpoint#outpost_id}. This parameter is required.- Returns:
this
-
securityGroupId
@Stability(Stable) public S3OutpostsEndpointConfig.Builder securityGroupId(String securityGroupId)
Sets the value ofS3OutpostsEndpointConfig.getSecurityGroupId()- Parameters:
securityGroupId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#security_group_id S3OutpostsEndpoint#security_group_id}. This parameter is required.- Returns:
this
-
subnetId
@Stability(Stable) public S3OutpostsEndpointConfig.Builder subnetId(String subnetId)
Sets the value ofS3OutpostsEndpointConfig.getSubnetId()- Parameters:
subnetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#subnet_id S3OutpostsEndpoint#subnet_id}. This parameter is required.- Returns:
this
-
accessType
@Stability(Stable) public S3OutpostsEndpointConfig.Builder accessType(String accessType)
Sets the value ofS3OutpostsEndpointConfig.getAccessType()- Parameters:
accessType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#access_type S3OutpostsEndpoint#access_type}.- Returns:
this
-
customerOwnedIpv4Pool
@Stability(Stable) public S3OutpostsEndpointConfig.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
Sets the value ofS3OutpostsEndpointConfig.getCustomerOwnedIpv4Pool()- Parameters:
customerOwnedIpv4Pool- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#customer_owned_ipv4_pool S3OutpostsEndpoint#customer_owned_ipv4_pool}.- Returns:
this
-
id
@Stability(Stable) public S3OutpostsEndpointConfig.Builder id(String id)
Sets the value ofS3OutpostsEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3outposts_endpoint#id S3OutpostsEndpoint#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
-
connection
@Stability(Experimental) public S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.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 S3OutpostsEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public S3OutpostsEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3OutpostsEndpointConfig>- Returns:
- a new instance of
S3OutpostsEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-