Interface AddApplicationReferenceDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,
,AddApplicationReferenceDataSourceRequest> KinesisAnalyticsRequest.Builder
,SdkBuilder<AddApplicationReferenceDataSourceRequest.Builder,
,AddApplicationReferenceDataSourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddApplicationReferenceDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Name of an existing application.currentApplicationVersionId
(Long currentApplicationVersionId) Version of the application for which you are adding the reference data source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.referenceDataSource
(Consumer<ReferenceDataSource.Builder> referenceDataSource) The reference data source can be an object in your Amazon S3 bucket.referenceDataSource
(ReferenceDataSource referenceDataSource) The reference data source can be an object in your Amazon S3 bucket.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisanalytics.model.KinesisAnalyticsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
Name of an existing application.
- Parameters:
applicationName
- Name of an existing application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplicationVersionId
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.- Parameters:
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, theConcurrentModificationException
is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceDataSource
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceDataSource
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 method that creates an instance of theReferenceDataSource.Builder
avoiding the need to create one manually viaReferenceDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceDataSource(ReferenceDataSource)
.- Parameters:
referenceDataSource
- a consumer that will call methods onReferenceDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-