public static final class VpcEndpointServiceProps.Builder
extends java.lang.Object
VpcEndpointServiceProps
Constructor and Description |
---|
Builder() |
public VpcEndpointServiceProps.Builder vpcEndpointServiceLoadBalancers(java.util.List<? extends IVpcEndpointServiceLoadBalancer> vpcEndpointServiceLoadBalancers)
VpcEndpointServiceProps.getVpcEndpointServiceLoadBalancers()
vpcEndpointServiceLoadBalancers
- One or more load balancers to host the VPC Endpoint Service. This parameter is required.this
public VpcEndpointServiceProps.Builder acceptanceRequired(java.lang.Boolean acceptanceRequired)
VpcEndpointServiceProps.getAcceptanceRequired()
acceptanceRequired
- Whether requests from service consumers to connect to the service through an endpoint must be accepted.this
public VpcEndpointServiceProps.Builder allowedPrincipals(java.util.List<? extends ArnPrincipal> allowedPrincipals)
VpcEndpointServiceProps.getAllowedPrincipals()
allowedPrincipals
- IAM users, IAM roles, or AWS accounts to allow inbound connections from.
These principals can connect to your service using VPC endpoints. Takes a
list of one or more ArnPrincipal.this
@Deprecated public VpcEndpointServiceProps.Builder vpcEndpointServiceName(java.lang.String vpcEndpointServiceName)
VpcEndpointServiceProps.getVpcEndpointServiceName()
vpcEndpointServiceName
- Name of the Vpc Endpoint Service.this
@Deprecated public VpcEndpointServiceProps.Builder whitelistedPrincipals(java.util.List<? extends ArnPrincipal> whitelistedPrincipals)
VpcEndpointServiceProps.getWhitelistedPrincipals()
whitelistedPrincipals
- IAM users, IAM roles, or AWS accounts to allow inbound connections from.
These principals can connect to your service using VPC endpoints. Takes a
list of one or more ArnPrincipal.this
public VpcEndpointServiceProps build()
VpcEndpointServiceProps
java.lang.NullPointerException
- if any required attribute was not provided