@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ReferenceDataSource extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
S3ReferenceDataSource() |
Modifier and Type | Method and Description |
---|---|
S3ReferenceDataSource |
clone() |
boolean |
equals(Object obj) |
String |
getBucketARN()
Amazon Resource Name (ARN) of the S3 bucket.
|
String |
getFileKey()
Object key name containing reference data.
|
String |
getReferenceRoleARN()
ARN of the IAM role that the service can assume to read data on your behalf.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketARN(String bucketARN)
Amazon Resource Name (ARN) of the S3 bucket.
|
void |
setFileKey(String fileKey)
Object key name containing reference data.
|
void |
setReferenceRoleARN(String referenceRoleARN)
ARN of the IAM role that the service can assume to read data on your behalf.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3ReferenceDataSource |
withBucketARN(String bucketARN)
Amazon Resource Name (ARN) of the S3 bucket.
|
S3ReferenceDataSource |
withFileKey(String fileKey)
Object key name containing reference data.
|
S3ReferenceDataSource |
withReferenceRoleARN(String referenceRoleARN)
ARN of the IAM role that the service can assume to read data on your behalf.
|
public void setBucketARN(String bucketARN)
Amazon Resource Name (ARN) of the S3 bucket.
bucketARN
- Amazon Resource Name (ARN) of the S3 bucket.public String getBucketARN()
Amazon Resource Name (ARN) of the S3 bucket.
public S3ReferenceDataSource withBucketARN(String bucketARN)
Amazon Resource Name (ARN) of the S3 bucket.
bucketARN
- Amazon Resource Name (ARN) of the S3 bucket.public void setFileKey(String fileKey)
Object key name containing reference data.
fileKey
- Object key name containing reference data.public String getFileKey()
Object key name containing reference data.
public S3ReferenceDataSource withFileKey(String fileKey)
Object key name containing reference data.
fileKey
- Object key name containing reference data.public void setReferenceRoleARN(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.
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.public String getReferenceRoleARN()
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 withReferenceRoleARN(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.
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.public String toString()
toString
in class Object
Object.toString()
public S3ReferenceDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.