@Generated(value="software.amazon.awssdk:codegen") public final class AddApplicationReferenceDataSourceRequest extends KinesisAnalyticsRequest implements ToCopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AddApplicationReferenceDataSourceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
Name of an existing application.
|
static AddApplicationReferenceDataSourceRequest.Builder |
builder() |
Long |
currentApplicationVersionId()
Version of the application for which you are adding the reference data source.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
ReferenceDataSource |
referenceDataSource()
The reference data source can be an object in your Amazon S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddApplicationReferenceDataSourceRequest.Builder> |
serializableBuilderClass() |
AddApplicationReferenceDataSourceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String applicationName()
Name of an existing application.
public 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.
ConcurrentModificationException
is returned.public 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.
public AddApplicationReferenceDataSourceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AddApplicationReferenceDataSourceRequest.Builder,AddApplicationReferenceDataSourceRequest>
toBuilder
in class KinesisAnalyticsRequest
public static AddApplicationReferenceDataSourceRequest.Builder builder()
public static Class<? extends AddApplicationReferenceDataSourceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.