Class CfnApplicationReferenceDataSource.Builder

java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSource>
Enclosing class:
CfnApplicationReferenceDataSource

@Stability(Stable) public static final class CfnApplicationReferenceDataSource.Builder extends Object implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSource>
A fluent builder for CfnApplicationReferenceDataSource.
  • Method Details

    • create

      @Stability(Stable) public static CfnApplicationReferenceDataSource.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnApplicationReferenceDataSource.Builder.
    • applicationName

      @Stability(Stable) public CfnApplicationReferenceDataSource.Builder applicationName(String applicationName)
      Name of an existing application.

      Parameters:
      applicationName - Name of an existing application. This parameter is required.
      Returns:
      this
    • referenceDataSource

      @Stability(Stable) public CfnApplicationReferenceDataSource.Builder referenceDataSource(IResolvable referenceDataSource)
      The reference data source can be an object in your Amazon S3 bucket.

      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.

      Parameters:
      referenceDataSource - The reference data source can be an object in your Amazon S3 bucket. This parameter is required.
      Returns:
      this
    • referenceDataSource

      @Stability(Stable) public CfnApplicationReferenceDataSource.Builder referenceDataSource(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty referenceDataSource)
      The reference data source can be an object in your Amazon S3 bucket.

      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.

      Parameters:
      referenceDataSource - The reference data source can be an object in your Amazon S3 bucket. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnApplicationReferenceDataSource build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnApplicationReferenceDataSource>
      Returns:
      a newly built instance of CfnApplicationReferenceDataSource.