Class CfnPipelineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelineMixinProps>
- Enclosing interface:
CfnPipelineMixinProps
@Stability(Stable)
public static final class CfnPipelineMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelineMixinProps>
A builder for
CfnPipelineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferOptions(CfnPipelinePropsMixin.BufferOptionsProperty bufferOptions) Sets the value ofCfnPipelineMixinProps.getBufferOptions()bufferOptions(IResolvable bufferOptions) Sets the value ofCfnPipelineMixinProps.getBufferOptions()build()Builds the configured instance.encryptionAtRestOptions(CfnPipelinePropsMixin.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Sets the value ofCfnPipelineMixinProps.getEncryptionAtRestOptions()encryptionAtRestOptions(IResolvable encryptionAtRestOptions) Sets the value ofCfnPipelineMixinProps.getEncryptionAtRestOptions()logPublishingOptions(CfnPipelinePropsMixin.LogPublishingOptionsProperty logPublishingOptions) Sets the value ofCfnPipelineMixinProps.getLogPublishingOptions()logPublishingOptions(IResolvable logPublishingOptions) Sets the value ofCfnPipelineMixinProps.getLogPublishingOptions()Sets the value ofCfnPipelineMixinProps.getMaxUnits()Sets the value ofCfnPipelineMixinProps.getMinUnits()pipelineConfigurationBody(String pipelineConfigurationBody) Sets the value ofCfnPipelineMixinProps.getPipelineConfigurationBody()pipelineName(String pipelineName) Sets the value ofCfnPipelineMixinProps.getPipelineName()pipelineRoleArn(String pipelineRoleArn) Sets the value ofCfnPipelineMixinProps.getPipelineRoleArn()resourcePolicy(CfnPipelinePropsMixin.ResourcePolicyProperty resourcePolicy) Sets the value ofCfnPipelineMixinProps.getResourcePolicy()resourcePolicy(IResolvable resourcePolicy) Sets the value ofCfnPipelineMixinProps.getResourcePolicy()Sets the value ofCfnPipelineMixinProps.getTags()vpcOptions(CfnPipelinePropsMixin.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipelineMixinProps.getVpcOptions()vpcOptions(IResolvable vpcOptions) Sets the value ofCfnPipelineMixinProps.getVpcOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bufferOptions
Sets the value ofCfnPipelineMixinProps.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 CfnPipelineMixinProps.Builder bufferOptions(CfnPipelinePropsMixin.BufferOptionsProperty bufferOptions) Sets the value ofCfnPipelineMixinProps.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 CfnPipelineMixinProps.Builder encryptionAtRestOptions(IResolvable encryptionAtRestOptions) Sets the value ofCfnPipelineMixinProps.getEncryptionAtRestOptions()- Parameters:
encryptionAtRestOptions- Options to control how OpenSearch encrypts buffer data.- Returns:
this
-
encryptionAtRestOptions
@Stability(Stable) public CfnPipelineMixinProps.Builder encryptionAtRestOptions(CfnPipelinePropsMixin.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Sets the value ofCfnPipelineMixinProps.getEncryptionAtRestOptions()- Parameters:
encryptionAtRestOptions- Options to control how OpenSearch encrypts buffer data.- Returns:
this
-
logPublishingOptions
@Stability(Stable) public CfnPipelineMixinProps.Builder logPublishingOptions(IResolvable logPublishingOptions) Sets the value ofCfnPipelineMixinProps.getLogPublishingOptions()- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
this
-
logPublishingOptions
@Stability(Stable) public CfnPipelineMixinProps.Builder logPublishingOptions(CfnPipelinePropsMixin.LogPublishingOptionsProperty logPublishingOptions) Sets the value ofCfnPipelineMixinProps.getLogPublishingOptions()- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
this
-
maxUnits
Sets the value ofCfnPipelineMixinProps.getMaxUnits()- Parameters:
maxUnits- The maximum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
this
-
minUnits
Sets the value ofCfnPipelineMixinProps.getMinUnits()- Parameters:
minUnits- The minimum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
this
-
pipelineConfigurationBody
@Stability(Stable) public CfnPipelineMixinProps.Builder pipelineConfigurationBody(String pipelineConfigurationBody) Sets the value ofCfnPipelineMixinProps.getPipelineConfigurationBody()- Parameters:
pipelineConfigurationBody- The Data Prepper pipeline configuration in YAML format.- Returns:
this
-
pipelineName
Sets the value ofCfnPipelineMixinProps.getPipelineName()- Parameters:
pipelineName- The name of the pipeline.- Returns:
this
-
pipelineRoleArn
Sets the value ofCfnPipelineMixinProps.getPipelineRoleArn()- Parameters:
pipelineRoleArn- The Amazon Resource Name (ARN) of the IAM role that the pipeline uses to access AWS resources.- Returns:
this
-
resourcePolicy
Sets the value ofCfnPipelineMixinProps.getResourcePolicy()- Parameters:
resourcePolicy- the value to be set.- Returns:
this
-
resourcePolicy
@Stability(Stable) public CfnPipelineMixinProps.Builder resourcePolicy(CfnPipelinePropsMixin.ResourcePolicyProperty resourcePolicy) Sets the value ofCfnPipelineMixinProps.getResourcePolicy()- Parameters:
resourcePolicy- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnPipelineMixinProps.getTags()- Parameters:
tags- List of tags to add to the pipeline upon creation.- Returns:
this
-
vpcOptions
Sets the value ofCfnPipelineMixinProps.getVpcOptions()- Parameters:
vpcOptions- Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.- Returns:
this
-
vpcOptions
@Stability(Stable) public CfnPipelineMixinProps.Builder vpcOptions(CfnPipelinePropsMixin.VpcOptionsProperty vpcOptions) Sets the value ofCfnPipelineMixinProps.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<CfnPipelineMixinProps>- Returns:
- a new instance of
CfnPipelineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-