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