public static final class CfnVPCEndpointService.Builder
extends java.lang.Object
CfnVPCEndpointService
.Modifier and Type | Method and Description |
---|---|
CfnVPCEndpointService.Builder |
acceptanceRequired(java.lang.Boolean acceptanceRequired)
Indicates whether requests from service consumers to create an endpoint to your service must be accepted.
|
CfnVPCEndpointService.Builder |
acceptanceRequired(IResolvable acceptanceRequired)
Indicates whether requests from service consumers to create an endpoint to your service must be accepted.
|
CfnVPCEndpointService |
build() |
static CfnVPCEndpointService.Builder |
create(Construct scope,
java.lang.String id) |
CfnVPCEndpointService.Builder |
gatewayLoadBalancerArns(java.util.List<java.lang.String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.
|
CfnVPCEndpointService.Builder |
networkLoadBalancerArns(java.util.List<java.lang.String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.
|
CfnVPCEndpointService.Builder |
payerResponsibility(java.lang.String payerResponsibility)
The entity that is responsible for the endpoint costs.
|
public static CfnVPCEndpointService.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnVPCEndpointService.Builder
.public CfnVPCEndpointService.Builder acceptanceRequired(java.lang.Boolean acceptanceRequired)
acceptanceRequired
- Indicates whether requests from service consumers to create an endpoint to your service must be accepted. This parameter is required.this
public CfnVPCEndpointService.Builder acceptanceRequired(IResolvable acceptanceRequired)
acceptanceRequired
- Indicates whether requests from service consumers to create an endpoint to your service must be accepted. This parameter is required.this
public CfnVPCEndpointService.Builder gatewayLoadBalancerArns(java.util.List<java.lang.String> gatewayLoadBalancerArns)
gatewayLoadBalancerArns
- The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers. This parameter is required.this
public CfnVPCEndpointService.Builder networkLoadBalancerArns(java.util.List<java.lang.String> networkLoadBalancerArns)
networkLoadBalancerArns
- The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service. This parameter is required.this
public CfnVPCEndpointService.Builder payerResponsibility(java.lang.String payerResponsibility)
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.
payerResponsibility
- The entity that is responsible for the endpoint costs. This parameter is required.this
public CfnVPCEndpointService build()