Class CfnPipeline.VpcOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.osis.CfnPipeline.VpcOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.VpcOptionsProperty>
- Enclosing interface:
CfnPipeline.VpcOptionsProperty
@Stability(Stable)
public static final class CfnPipeline.VpcOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.VpcOptionsProperty>
A builder for
CfnPipeline.VpcOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPipeline.VpcOptionsProperty.getSecurityGroupIds()Sets the value ofCfnPipeline.VpcOptionsProperty.getSubnetIds()vpcAttachmentOptions(IResolvable vpcAttachmentOptions) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcAttachmentOptions()vpcAttachmentOptions(CfnPipeline.VpcAttachmentOptionsProperty vpcAttachmentOptions) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcAttachmentOptions()vpcEndpointManagement(String vpcEndpointManagement) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcEndpointManagement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetIds
Sets the value ofCfnPipeline.VpcOptionsProperty.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs associated with the VPC endpoint. This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnPipeline.VpcOptionsProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPipeline.VpcOptionsProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of security groups associated with the VPC endpoint.- Returns:
this
-
vpcAttachmentOptions
@Stability(Stable) public CfnPipeline.VpcOptionsProperty.Builder vpcAttachmentOptions(IResolvable vpcAttachmentOptions) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcAttachmentOptions()- Parameters:
vpcAttachmentOptions- Options for attaching a VPC to a pipeline.- Returns:
this
-
vpcAttachmentOptions
@Stability(Stable) public CfnPipeline.VpcOptionsProperty.Builder vpcAttachmentOptions(CfnPipeline.VpcAttachmentOptionsProperty vpcAttachmentOptions) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcAttachmentOptions()- Parameters:
vpcAttachmentOptions- Options for attaching a VPC to a pipeline.- Returns:
this
-
vpcEndpointManagement
@Stability(Stable) public CfnPipeline.VpcOptionsProperty.Builder vpcEndpointManagement(String vpcEndpointManagement) Sets the value ofCfnPipeline.VpcOptionsProperty.getVpcEndpointManagement()- Parameters:
vpcEndpointManagement- Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.VpcOptionsProperty>- Returns:
- a new instance of
CfnPipeline.VpcOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-