Interface AddApplicationReferenceDataSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>,KinesisAnalyticsRequest.Builder,SdkBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddApplicationReferenceDataSourceRequest
public static interface AddApplicationReferenceDataSourceRequest.Builder extends KinesisAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
applicationName
AddApplicationReferenceDataSourceRequest.Builder applicationName(String 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
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, 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. 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.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:
referenceDataSource(ReferenceDataSource)
-
overrideConfiguration
AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddApplicationReferenceDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-