Class CfnApplicationReferenceDataSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
- Enclosing interface:
CfnApplicationReferenceDataSourceProps
@Stability(Stable)
public static final class CfnApplicationReferenceDataSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
A builder for
CfnApplicationReferenceDataSourceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceProps.getApplicationName()
build()
Builds the configured instance.referenceDataSource
(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
referenceDataSource
(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder applicationName(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceProps.getApplicationName()
- Parameters:
applicationName
- Name of an existing application. This parameter is required.- Returns:
this
-
referenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder referenceDataSource(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
- Parameters:
referenceDataSource
- The reference data source can be an object in your Amazon S3 bucket. This parameter is required. Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.- Returns:
this
-
referenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder referenceDataSource(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
- Parameters:
referenceDataSource
- The reference data source can be an object in your Amazon S3 bucket. This parameter is required. Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
- Returns:
- a new instance of
CfnApplicationReferenceDataSourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-