public static interface AddApplicationReferenceDataSourceRequest.Builder extends KinesisAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>
build
overrideConfiguration
copy
applyMutation, build
AddApplicationReferenceDataSourceRequest.Builder applicationName(String applicationName)
Name of an existing application.
applicationName
- Name of an existing application.AddApplicationReferenceDataSourceRequest.Builder currentApplicationVersionId(Long currentApplicationVersionId)
Version of the application for which you are adding the reference data source. You can use the
DescribeApplication operation to get the current application version. If the version specified is not
the current version, the ConcurrentModificationException
is returned.
currentApplicationVersionId
- Version of the application for which you are adding the reference data source. You can use the
DescribeApplication operation to get the current application version. If the version specified
is not the current version, the ConcurrentModificationException
is returned.AddApplicationReferenceDataSourceRequest.Builder referenceDataSource(ReferenceDataSource 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.
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.default AddApplicationReferenceDataSourceRequest.Builder referenceDataSource(Consumer<ReferenceDataSource.Builder> 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.
This is a convenience that creates an instance of theReferenceDataSource.Builder
avoiding the need
to create one manually via ReferenceDataSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to referenceDataSource(ReferenceDataSource)
.referenceDataSource
- a consumer that will call methods on ReferenceDataSource.Builder
referenceDataSource(ReferenceDataSource)
AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.