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