Interface AddApplicationReferenceDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,,AddApplicationReferenceDataSourceRequest> KinesisAnalyticsV2Request.Builder,SdkBuilder<AddApplicationReferenceDataSourceRequest.Builder,,AddApplicationReferenceDataSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddApplicationReferenceDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of an existing application.currentApplicationVersionId(Long currentApplicationVersionId) The 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of an existing application.
- Parameters:
applicationName- The 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) The 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- The 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, theConcurrentModificationExceptionis 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. Kinesis Data 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.
- Parameters:
referenceDataSource- The reference data source can be an object in your Amazon S3 bucket. Kinesis Data 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.- 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. Kinesis Data 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.
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 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-