Class CfnPipeline.BufferOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.osis.CfnPipeline.BufferOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.BufferOptionsProperty>
- Enclosing interface:
CfnPipeline.BufferOptionsProperty
@Stability(Stable)
public static final class CfnPipeline.BufferOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.BufferOptionsProperty>
A builder for
CfnPipeline.BufferOptionsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.persistentBufferEnabled
(Boolean persistentBufferEnabled) Sets the value ofCfnPipeline.BufferOptionsProperty.getPersistentBufferEnabled()
persistentBufferEnabled
(IResolvable persistentBufferEnabled) Sets the value ofCfnPipeline.BufferOptionsProperty.getPersistentBufferEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
persistentBufferEnabled
@Stability(Stable) public CfnPipeline.BufferOptionsProperty.Builder persistentBufferEnabled(Boolean persistentBufferEnabled) Sets the value ofCfnPipeline.BufferOptionsProperty.getPersistentBufferEnabled()
- Parameters:
persistentBufferEnabled
- Whether persistent buffering should be enabled. This parameter is required.- Returns:
this
-
persistentBufferEnabled
@Stability(Stable) public CfnPipeline.BufferOptionsProperty.Builder persistentBufferEnabled(IResolvable persistentBufferEnabled) Sets the value ofCfnPipeline.BufferOptionsProperty.getPersistentBufferEnabled()
- Parameters:
persistentBufferEnabled
- Whether persistent buffering should be enabled. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.BufferOptionsProperty>
- Returns:
- a new instance of
CfnPipeline.BufferOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-