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
-
Method Summary
Modifier and TypeMethodDescriptionbufferOptions
(IResolvable bufferOptions) Sets the value ofCfnPipelineProps.getBufferOptions()
bufferOptions
(CfnPipeline.BufferOptionsProperty bufferOptions) Sets the value ofCfnPipelineProps.getBufferOptions()
build()
Builds the configured instance.encryptionAtRestOptions
(IResolvable encryptionAtRestOptions) Sets the value ofCfnPipelineProps.getEncryptionAtRestOptions()
encryptionAtRestOptions
(CfnPipeline.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Sets the value ofCfnPipelineProps.getEncryptionAtRestOptions()
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
-
bufferOptions
Sets the value ofCfnPipelineProps.getBufferOptions()
- Parameters:
bufferOptions
- Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set theEncryptionAtRestOptions
. For more information, see Persistent buffering .- Returns:
this
-
bufferOptions
@Stability(Stable) public CfnPipelineProps.Builder bufferOptions(CfnPipeline.BufferOptionsProperty bufferOptions) Sets the value ofCfnPipelineProps.getBufferOptions()
- Parameters:
bufferOptions
- Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set theEncryptionAtRestOptions
. For more information, see Persistent buffering .- Returns:
this
-
encryptionAtRestOptions
@Stability(Stable) public CfnPipelineProps.Builder encryptionAtRestOptions(IResolvable encryptionAtRestOptions) Sets the value ofCfnPipelineProps.getEncryptionAtRestOptions()
- Parameters:
encryptionAtRestOptions
- Options to control how OpenSearch encrypts buffer data.- Returns:
this
-
encryptionAtRestOptions
@Stability(Stable) public CfnPipelineProps.Builder encryptionAtRestOptions(CfnPipeline.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Sets the value ofCfnPipelineProps.getEncryptionAtRestOptions()
- Parameters:
encryptionAtRestOptions
- Options to control how OpenSearch encrypts buffer data.- 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
-
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipelineProps>
- Returns:
- a new instance of
CfnPipelineProps
- Throws:
NullPointerException
- if any required attribute was not provided
-