Class DataProcessorBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.alpha.DataProcessorBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataProcessorBindOptions>
- Enclosing interface:
DataProcessorBindOptions
@Stability(Experimental)
public static final class DataProcessorBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<DataProcessorBindOptions>
A builder for
DataProcessorBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofDataProcessorBindOptions.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofDataProcessorBindOptions.getRole()
- Parameters:
role
- The IAM role assumed by Kinesis Data Firehose to write to the destination that this DataProcessor will bind to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataProcessorBindOptions>
- Returns:
- a new instance of
DataProcessorBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-