Class CfnEndpointAccess.VpcEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnEndpointAccess.VpcEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAccess.VpcEndpointProperty>
- Enclosing interface:
CfnEndpointAccess.VpcEndpointProperty
@Stability(Stable)
public static final class CfnEndpointAccess.VpcEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAccess.VpcEndpointProperty>
A builder for
CfnEndpointAccess.VpcEndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getNetworkInterfaces()networkInterfaces(IResolvable networkInterfaces) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getNetworkInterfaces()vpcEndpointId(String vpcEndpointId) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getVpcEndpointId()Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInterfaces
@Stability(Stable) public CfnEndpointAccess.VpcEndpointProperty.Builder networkInterfaces(IResolvable networkInterfaces) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getNetworkInterfaces()- Parameters:
networkInterfaces- One or more network interfaces of the endpoint. Also known as an interface endpoint.- Returns:
this
-
networkInterfaces
@Stability(Stable) public CfnEndpointAccess.VpcEndpointProperty.Builder networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getNetworkInterfaces()- Parameters:
networkInterfaces- One or more network interfaces of the endpoint. Also known as an interface endpoint.- Returns:
this
-
vpcEndpointId
@Stability(Stable) public CfnEndpointAccess.VpcEndpointProperty.Builder vpcEndpointId(String vpcEndpointId) Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getVpcEndpointId()- Parameters:
vpcEndpointId- The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.- Returns:
this
-
vpcId
Sets the value ofCfnEndpointAccess.VpcEndpointProperty.getVpcId()- Parameters:
vpcId- The VPC identifier that the endpoint is associated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointAccess.VpcEndpointProperty>- Returns:
- a new instance of
CfnEndpointAccess.VpcEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-