Class CfnPipeline.VpcEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.osis.CfnPipeline.VpcEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.VpcEndpointProperty>
- Enclosing interface:
- CfnPipeline.VpcEndpointProperty
@Stability(Stable)
public static final class CfnPipeline.VpcEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.VpcEndpointProperty>
A builder for
CfnPipeline.VpcEndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.vpcEndpointId(String vpcEndpointId) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcEndpointId()Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcId()vpcOptions(IResolvable vpcOptions) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcOptions()vpcOptions(CfnPipeline.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEndpointId
@Stability(Stable) public CfnPipeline.VpcEndpointProperty.Builder vpcEndpointId(String vpcEndpointId) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcEndpointId()- Parameters:
vpcEndpointId- The unique identifier of the endpoint.- Returns:
this
-
vpcId
Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcId()- Parameters:
vpcId- The ID for your VPC. AWS PrivateLink generates this value when you create a VPC.- Returns:
this
-
vpcOptions
@Stability(Stable) public CfnPipeline.VpcEndpointProperty.Builder vpcOptions(IResolvable vpcOptions) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcOptions()- Parameters:
vpcOptions- Information about the VPC, including associated subnets and security groups.- Returns:
this
-
vpcOptions
@Stability(Stable) public CfnPipeline.VpcEndpointProperty.Builder vpcOptions(CfnPipeline.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipeline.VpcEndpointProperty.getVpcOptions()- Parameters:
vpcOptions- Information about the VPC, including associated subnets and security groups.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.VpcEndpointProperty>- Returns:
- a new instance of
CfnPipeline.VpcEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-