Class CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.VpcAttachmentOptionsProperty>
- Enclosing interface:
CfnPipelinePropsMixin.VpcAttachmentOptionsProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.VpcAttachmentOptionsProperty>
A builder for
CfnPipelinePropsMixin.VpcAttachmentOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachToVpc(Boolean attachToVpc) Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getAttachToVpc()attachToVpc(IResolvable attachToVpc) Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getAttachToVpc()build()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getCidrBlock()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachToVpc
@Stability(Stable) public CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder attachToVpc(Boolean attachToVpc) Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getAttachToVpc()- Parameters:
attachToVpc- Whether a VPC is attached to the pipeline.- Returns:
this
-
attachToVpc
@Stability(Stable) public CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder attachToVpc(IResolvable attachToVpc) Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getAttachToVpc()- Parameters:
attachToVpc- Whether a VPC is attached to the pipeline.- Returns:
this
-
cidrBlock
@Stability(Stable) public CfnPipelinePropsMixin.VpcAttachmentOptionsProperty.Builder cidrBlock(String cidrBlock) Sets the value ofCfnPipelinePropsMixin.VpcAttachmentOptionsProperty.getCidrBlock()- Parameters:
cidrBlock- The CIDR block to be reserved for OpenSearch Ingestion to create elastic network interfaces (ENIs).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.VpcAttachmentOptionsProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.VpcAttachmentOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-