Class DataProcessorConfig.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.DataProcessorConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataProcessorConfig>
- Enclosing interface:
DataProcessorConfig
@Stability(Experimental)
public static final class DataProcessorConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DataProcessorConfig>
A builder for
DataProcessorConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.processorIdentifier
(DataProcessorIdentifier processorIdentifier) Sets the value ofDataProcessorConfig.getProcessorIdentifier()
processorType
(String processorType) Sets the value ofDataProcessorConfig.getProcessorType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
processorIdentifier
@Stability(Experimental) public DataProcessorConfig.Builder processorIdentifier(DataProcessorIdentifier processorIdentifier) Sets the value ofDataProcessorConfig.getProcessorIdentifier()
- Parameters:
processorIdentifier
- The key-value pair that identifies the underlying processor resource. This parameter is required.- Returns:
this
-
processorType
Sets the value ofDataProcessorConfig.getProcessorType()
- Parameters:
processorType
- The type of the underlying processor resource. This parameter is required. Must be an accepted value inCfnDeliveryStream.ProcessorProperty.Type
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataProcessorConfig>
- Returns:
- a new instance of
DataProcessorConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-