Class VpcEndpointServiceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.vpc_endpoint_service.VpcEndpointServiceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcEndpointServiceConfig>
- Enclosing interface:
- VpcEndpointServiceConfig
@Stability(Stable) public static final class VpcEndpointServiceConfig.Builder extends Object implements software.amazon.jsii.Builder<VpcEndpointServiceConfig>
A builder forVpcEndpointServiceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
acceptanceRequired
@Stability(Stable) public VpcEndpointServiceConfig.Builder acceptanceRequired(Boolean acceptanceRequired)
Sets the value ofVpcEndpointServiceConfig.getAcceptanceRequired()- Parameters:
acceptanceRequired- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#acceptance_required VpcEndpointService#acceptance_required}. This parameter is required.- Returns:
this
-
acceptanceRequired
@Stability(Stable) public VpcEndpointServiceConfig.Builder acceptanceRequired(com.hashicorp.cdktf.IResolvable acceptanceRequired)
Sets the value ofVpcEndpointServiceConfig.getAcceptanceRequired()- Parameters:
acceptanceRequired- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#acceptance_required VpcEndpointService#acceptance_required}. This parameter is required.- Returns:
this
-
allowedPrincipals
@Stability(Stable) public VpcEndpointServiceConfig.Builder allowedPrincipals(List<String> allowedPrincipals)
Sets the value ofVpcEndpointServiceConfig.getAllowedPrincipals()- Parameters:
allowedPrincipals- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#allowed_principals VpcEndpointService#allowed_principals}.- Returns:
this
-
gatewayLoadBalancerArns
@Stability(Stable) public VpcEndpointServiceConfig.Builder gatewayLoadBalancerArns(List<String> gatewayLoadBalancerArns)
Sets the value ofVpcEndpointServiceConfig.getGatewayLoadBalancerArns()- Parameters:
gatewayLoadBalancerArns- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#gateway_load_balancer_arns VpcEndpointService#gateway_load_balancer_arns}.- Returns:
this
-
id
@Stability(Stable) public VpcEndpointServiceConfig.Builder id(String id)
Sets the value ofVpcEndpointServiceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#id VpcEndpointService#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
-
networkLoadBalancerArns
@Stability(Stable) public VpcEndpointServiceConfig.Builder networkLoadBalancerArns(List<String> networkLoadBalancerArns)
Sets the value ofVpcEndpointServiceConfig.getNetworkLoadBalancerArns()- Parameters:
networkLoadBalancerArns- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#network_load_balancer_arns VpcEndpointService#network_load_balancer_arns}.- Returns:
this
-
privateDnsName
@Stability(Stable) public VpcEndpointServiceConfig.Builder privateDnsName(String privateDnsName)
Sets the value ofVpcEndpointServiceConfig.getPrivateDnsName()- Parameters:
privateDnsName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#private_dns_name VpcEndpointService#private_dns_name}.- Returns:
this
-
supportedIpAddressTypes
@Stability(Stable) public VpcEndpointServiceConfig.Builder supportedIpAddressTypes(List<String> supportedIpAddressTypes)
Sets the value ofVpcEndpointServiceConfig.getSupportedIpAddressTypes()- Parameters:
supportedIpAddressTypes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#supported_ip_address_types VpcEndpointService#supported_ip_address_types}.- Returns:
this
-
tags
@Stability(Stable) public VpcEndpointServiceConfig.Builder tags(Map<String,String> tags)
Sets the value ofVpcEndpointServiceConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#tags VpcEndpointService#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public VpcEndpointServiceConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofVpcEndpointServiceConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#tags_all VpcEndpointService#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public VpcEndpointServiceConfig.Builder timeouts(VpcEndpointServiceTimeouts timeouts)
Sets the value ofVpcEndpointServiceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_endpoint_service#timeouts VpcEndpointService#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.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 VpcEndpointServiceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VpcEndpointServiceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcEndpointServiceConfig>- Returns:
- a new instance of
VpcEndpointServiceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-