Class CfnVPCEndpointService.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEndpointService.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointService>
- Enclosing class:
CfnVPCEndpointService
@Stability(Stable)
public static final class CfnVPCEndpointService.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointService>
A fluent builder for
CfnVPCEndpointService
.-
Method Summary
Modifier and TypeMethodDescriptionacceptanceRequired
(Boolean acceptanceRequired) Indicates whether requests from service consumers to create an endpoint to your service must be accepted.acceptanceRequired
(IResolvable acceptanceRequired) Indicates whether requests from service consumers to create an endpoint to your service must be accepted.build()
contributorInsightsEnabled
(Boolean contributorInsightsEnabled) Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .contributorInsightsEnabled
(IResolvable contributorInsightsEnabled) Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .gatewayLoadBalancerArns
(List<String> gatewayLoadBalancerArns) The Amazon Resource Names (ARNs) of the Gateway Load Balancers.networkLoadBalancerArns
(List<String> networkLoadBalancerArns) The Amazon Resource Names (ARNs) of the Network Load Balancers.payerResponsibility
(String payerResponsibility) The entity that is responsible for the endpoint costs.The tags to add to the VPC endpoint service.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCEndpointService.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVPCEndpointService.Builder
.
-
acceptanceRequired
@Stability(Stable) public CfnVPCEndpointService.Builder acceptanceRequired(Boolean acceptanceRequired) Indicates whether requests from service consumers to create an endpoint to your service must be accepted.- Parameters:
acceptanceRequired
- Indicates whether requests from service consumers to create an endpoint to your service must be accepted. This parameter is required.- Returns:
this
- See Also:
-
acceptanceRequired
@Stability(Stable) public CfnVPCEndpointService.Builder acceptanceRequired(IResolvable acceptanceRequired) Indicates whether requests from service consumers to create an endpoint to your service must be accepted.- Parameters:
acceptanceRequired
- Indicates whether requests from service consumers to create an endpoint to your service must be accepted. This parameter is required.- Returns:
this
- See Also:
-
contributorInsightsEnabled
@Stability(Stable) public CfnVPCEndpointService.Builder contributorInsightsEnabled(Boolean contributorInsightsEnabled) Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .- Parameters:
contributorInsightsEnabled
- Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink . This parameter is required.- Returns:
this
- See Also:
-
contributorInsightsEnabled
@Stability(Stable) public CfnVPCEndpointService.Builder contributorInsightsEnabled(IResolvable contributorInsightsEnabled) Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .- Parameters:
contributorInsightsEnabled
- Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink . This parameter is required.- Returns:
this
- See Also:
-
gatewayLoadBalancerArns
@Stability(Stable) public CfnVPCEndpointService.Builder gatewayLoadBalancerArns(List<String> gatewayLoadBalancerArns) The Amazon Resource Names (ARNs) of the Gateway Load Balancers.- Parameters:
gatewayLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Gateway Load Balancers. This parameter is required.- Returns:
this
- See Also:
-
networkLoadBalancerArns
@Stability(Stable) public CfnVPCEndpointService.Builder networkLoadBalancerArns(List<String> networkLoadBalancerArns) The Amazon Resource Names (ARNs) of the Network Load Balancers.- Parameters:
networkLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Network Load Balancers. This parameter is required.- Returns:
this
- See Also:
-
payerResponsibility
@Stability(Stable) public CfnVPCEndpointService.Builder payerResponsibility(String payerResponsibility) The entity that is responsible for the endpoint costs.The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
- Parameters:
payerResponsibility
- The entity that is responsible for the endpoint costs. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to add to the VPC endpoint service.- Parameters:
tags
- The tags to add to the VPC endpoint service. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointService>
- Returns:
- a newly built instance of
CfnVPCEndpointService
.
-