Class CfnVPCEndpointServiceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCEndpointServiceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointServiceMixinProps>
- Enclosing interface:
CfnVPCEndpointServiceMixinProps
@Stability(Stable)
public static final class CfnVPCEndpointServiceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointServiceMixinProps>
A builder for
CfnVPCEndpointServiceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptanceRequired(Boolean acceptanceRequired) Sets the value ofCfnVPCEndpointServiceMixinProps.getAcceptanceRequired()acceptanceRequired(IResolvable acceptanceRequired) Sets the value ofCfnVPCEndpointServiceMixinProps.getAcceptanceRequired()build()Builds the configured instance.contributorInsightsEnabled(Boolean contributorInsightsEnabled) Sets the value ofCfnVPCEndpointServiceMixinProps.getContributorInsightsEnabled()contributorInsightsEnabled(IResolvable contributorInsightsEnabled) Sets the value ofCfnVPCEndpointServiceMixinProps.getContributorInsightsEnabled()gatewayLoadBalancerArns(List<String> gatewayLoadBalancerArns) Sets the value ofCfnVPCEndpointServiceMixinProps.getGatewayLoadBalancerArns()networkLoadBalancerArns(List<? extends Object> networkLoadBalancerArns) Sets the value ofCfnVPCEndpointServiceMixinProps.getNetworkLoadBalancerArns()payerResponsibility(String payerResponsibility) Sets the value ofCfnVPCEndpointServiceMixinProps.getPayerResponsibility()supportedIpAddressTypes(List<String> supportedIpAddressTypes) Sets the value ofCfnVPCEndpointServiceMixinProps.getSupportedIpAddressTypes()supportedRegions(List<String> supportedRegions) Sets the value ofCfnVPCEndpointServiceMixinProps.getSupportedRegions()Sets the value ofCfnVPCEndpointServiceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptanceRequired
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder acceptanceRequired(Boolean acceptanceRequired) Sets the value ofCfnVPCEndpointServiceMixinProps.getAcceptanceRequired()- Parameters:
acceptanceRequired- Indicates whether requests from service consumers to create an endpoint to your service must be accepted.- Returns:
this
-
acceptanceRequired
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder acceptanceRequired(IResolvable acceptanceRequired) Sets the value ofCfnVPCEndpointServiceMixinProps.getAcceptanceRequired()- Parameters:
acceptanceRequired- Indicates whether requests from service consumers to create an endpoint to your service must be accepted.- Returns:
this
-
contributorInsightsEnabled
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder contributorInsightsEnabled(Boolean contributorInsightsEnabled) Sets the value ofCfnVPCEndpointServiceMixinProps.getContributorInsightsEnabled()- Parameters:
contributorInsightsEnabled- Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .- Returns:
this
-
contributorInsightsEnabled
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder contributorInsightsEnabled(IResolvable contributorInsightsEnabled) Sets the value ofCfnVPCEndpointServiceMixinProps.getContributorInsightsEnabled()- Parameters:
contributorInsightsEnabled- Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .- Returns:
this
-
gatewayLoadBalancerArns
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder gatewayLoadBalancerArns(List<String> gatewayLoadBalancerArns) Sets the value ofCfnVPCEndpointServiceMixinProps.getGatewayLoadBalancerArns()- Parameters:
gatewayLoadBalancerArns- The Amazon Resource Names (ARNs) of the Gateway Load Balancers.- Returns:
this
-
networkLoadBalancerArns
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder networkLoadBalancerArns(List<? extends Object> networkLoadBalancerArns) Sets the value ofCfnVPCEndpointServiceMixinProps.getNetworkLoadBalancerArns()- Parameters:
networkLoadBalancerArns- The Amazon Resource Names (ARNs) of the Network Load Balancers.- Returns:
this
-
payerResponsibility
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder payerResponsibility(String payerResponsibility) Sets the value ofCfnVPCEndpointServiceMixinProps.getPayerResponsibility()- Parameters:
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.- Returns:
this
-
supportedIpAddressTypes
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder supportedIpAddressTypes(List<String> supportedIpAddressTypes) Sets the value ofCfnVPCEndpointServiceMixinProps.getSupportedIpAddressTypes()- Parameters:
supportedIpAddressTypes- The supported IP address types. The possible values areipv4andipv6.- Returns:
this
-
supportedRegions
@Stability(Stable) public CfnVPCEndpointServiceMixinProps.Builder supportedRegions(List<String> supportedRegions) Sets the value ofCfnVPCEndpointServiceMixinProps.getSupportedRegions()- Parameters:
supportedRegions- The Regions from which service consumers can access the service.- Returns:
this
-
tags
Sets the value ofCfnVPCEndpointServiceMixinProps.getTags()- Parameters:
tags- The tags to associate with the service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointServiceMixinProps>- Returns:
- a new instance of
CfnVPCEndpointServiceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-