Class CfnPipelineProps.Builder
java.lang.Object
software.amazon.awscdk.services.osis.CfnPipelineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelineProps>
- Enclosing interface:
- CfnPipelineProps
@Stability(Stable)
public static final class CfnPipelineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelineProps>
A builder for
CfnPipelineProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logPublishingOptions(IResolvable logPublishingOptions) Sets the value ofCfnPipelineProps.getLogPublishingOptions()logPublishingOptions(CfnPipeline.LogPublishingOptionsProperty logPublishingOptions) Sets the value ofCfnPipelineProps.getLogPublishingOptions()Sets the value ofCfnPipelineProps.getMaxUnits()Sets the value ofCfnPipelineProps.getMinUnits()pipelineConfigurationBody(String pipelineConfigurationBody) Sets the value ofCfnPipelineProps.getPipelineConfigurationBody()pipelineName(String pipelineName) Sets the value ofCfnPipelineProps.getPipelineName()Sets the value ofCfnPipelineProps.getTags()vpcOptions(IResolvable vpcOptions) Sets the value ofCfnPipelineProps.getVpcOptions()vpcOptions(CfnPipeline.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipelineProps.getVpcOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxUnits
Sets the value ofCfnPipelineProps.getMaxUnits()- Parameters:
maxUnits- The maximum pipeline capacity, in Ingestion Compute Units (ICUs). This parameter is required.- Returns:
this
-
minUnits
Sets the value ofCfnPipelineProps.getMinUnits()- Parameters:
minUnits- The minimum pipeline capacity, in Ingestion Compute Units (ICUs). This parameter is required.- Returns:
this
-
pipelineConfigurationBody
@Stability(Stable) public CfnPipelineProps.Builder pipelineConfigurationBody(String pipelineConfigurationBody) Sets the value ofCfnPipelineProps.getPipelineConfigurationBody()- Parameters:
pipelineConfigurationBody- The Data Prepper pipeline configuration in YAML format. This parameter is required.- Returns:
this
-
pipelineName
Sets the value ofCfnPipelineProps.getPipelineName()- Parameters:
pipelineName- The name of the pipeline. This parameter is required.- Returns:
this
-
logPublishingOptions
@Stability(Stable) public CfnPipelineProps.Builder logPublishingOptions(CfnPipeline.LogPublishingOptionsProperty logPublishingOptions) Sets the value ofCfnPipelineProps.getLogPublishingOptions()- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
this
-
logPublishingOptions
@Stability(Stable) public CfnPipelineProps.Builder logPublishingOptions(IResolvable logPublishingOptions) Sets the value ofCfnPipelineProps.getLogPublishingOptions()- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
this
-
tags
Sets the value ofCfnPipelineProps.getTags()- Parameters:
tags- List of tags to add to the pipeline upon creation.- Returns:
this
-
vpcOptions
Sets the value ofCfnPipelineProps.getVpcOptions()- Parameters:
vpcOptions- Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.- Returns:
this
-
vpcOptions
@Stability(Stable) public CfnPipelineProps.Builder vpcOptions(CfnPipeline.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipelineProps.getVpcOptions()- Parameters:
vpcOptions- Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelineProps>- Returns:
- a new instance of
CfnPipelineProps - Throws:
NullPointerException- if any required attribute was not provided
-