Class CfnPipelinePropsMixin.VpcOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelinePropsMixin.VpcOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.VpcOptionsProperty>
- Enclosing interface:
CfnPipelinePropsMixin.VpcOptionsProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.VpcOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.VpcOptionsProperty>
A builder for
CfnPipelinePropsMixin.VpcOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getSecurityGroupIds()Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getSubnetIds()vpcAttachmentOptions(CfnPipelinePropsMixin.VpcAttachmentOptionsProperty vpcAttachmentOptions) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getVpcAttachmentOptions()vpcAttachmentOptions(IResolvable vpcAttachmentOptions) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getVpcAttachmentOptions()vpcEndpointManagement(String vpcEndpointManagement) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getVpcEndpointManagement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnPipelinePropsMixin.VpcOptionsProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of security groups associated with the VPC endpoint.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnPipelinePropsMixin.VpcOptionsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs associated with the VPC endpoint.- Returns:
this
-
vpcAttachmentOptions
@Stability(Stable) public CfnPipelinePropsMixin.VpcOptionsProperty.Builder vpcAttachmentOptions(IResolvable vpcAttachmentOptions) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getVpcAttachmentOptions()- Parameters:
vpcAttachmentOptions- Options for attaching a VPC to a pipeline.- Returns:
this
-
vpcAttachmentOptions
@Stability(Stable) public CfnPipelinePropsMixin.VpcOptionsProperty.Builder vpcAttachmentOptions(CfnPipelinePropsMixin.VpcAttachmentOptionsProperty vpcAttachmentOptions) Sets the value ofCfnPipelinePropsMixin.VpcOptionsProperty.getVpcAttachmentOptions()- Parameters:
vpcAttachmentOptions- Options for attaching a VPC to a pipeline.- Returns:
this
-
vpcEndpointManagement
@Stability(Stable) public CfnPipelinePropsMixin.VpcOptionsProperty.Builder vpcEndpointManagement(String vpcEndpointManagement) Sets the value ofCfnPipelinePropsMixin.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<CfnPipelinePropsMixin.VpcOptionsProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.VpcOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-