@Generated(value="software.amazon.awssdk:codegen") public final class S3ReferenceDataSource extends Object implements StructuredPojo, ToCopyableBuilder<S3ReferenceDataSource.Builder,S3ReferenceDataSource>
Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.
An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
Modifier and Type | Class and Description |
---|---|
static interface |
S3ReferenceDataSource.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketARN()
Amazon Resource Name (ARN) of the S3 bucket.
|
static S3ReferenceDataSource.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fileKey()
Object key name containing reference data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
referenceRoleARN()
ARN of the IAM role that the service can assume to read data on your behalf.
|
static Class<? extends S3ReferenceDataSource.Builder> |
serializableBuilderClass() |
S3ReferenceDataSource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String bucketARN()
Amazon Resource Name (ARN) of the S3 bucket.
public String fileKey()
Object key name containing reference data.
public String referenceRoleARN()
ARN of the IAM role that the service can assume to read data on your behalf. This role must have permission for
the s3:GetObject
action on the object and trust policy that allows Amazon Kinesis Analytics service
principal to assume this role.
s3:GetObject
action on the object and trust policy that allows Amazon
Kinesis Analytics service principal to assume this role.public S3ReferenceDataSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3ReferenceDataSource.Builder,S3ReferenceDataSource>
public static S3ReferenceDataSource.Builder builder()
public static Class<? extends S3ReferenceDataSource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.