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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.kinesisanalytics.model.KinesisAnalyticsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationNameName 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.
 
- 
currentApplicationVersionIdAddApplicationReferenceDataSourceRequest.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 ConcurrentModificationExceptionis 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, the- ConcurrentModificationExceptionis returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
referenceDataSourceAddApplicationReferenceDataSourceRequest.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.
 
- 
referenceDataSourcedefault 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.Builderavoiding the need to create one manually viaReferenceDataSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferenceDataSource(ReferenceDataSource).- Parameters:
- referenceDataSource- a consumer that will call methods on- ReferenceDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationAddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-