Class S3ReferenceDataSource
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalytics.model.S3ReferenceDataSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3ReferenceDataSource.Builder,S3ReferenceDataSource>
@Generated("software.amazon.awssdk:codegen") public final class S3ReferenceDataSource extends Object implements SdkPojo, Serializable, 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3ReferenceDataSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketARN()Amazon Resource Name (ARN) of the S3 bucket.static S3ReferenceDataSource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileKey()Object key name containing reference data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreferenceRoleARN()ARN of the IAM role that the service can assume to read data on your behalf.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3ReferenceDataSource.Builder>serializableBuilderClass()S3ReferenceDataSource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucketARN
public final String bucketARN()
Amazon Resource Name (ARN) of the S3 bucket.
- Returns:
- Amazon Resource Name (ARN) of the S3 bucket.
-
fileKey
public final String fileKey()
Object key name containing reference data.
- Returns:
- Object key name containing reference data.
-
referenceRoleARN
public final 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:GetObjectaction on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.- Returns:
- ARN of the IAM role that the service can assume to read data on your behalf. This role must have
permission for the
s3:GetObjectaction on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.
-
toBuilder
public S3ReferenceDataSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3ReferenceDataSource.Builder,S3ReferenceDataSource>
-
builder
public static S3ReferenceDataSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3ReferenceDataSource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-