Class CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty>
- Enclosing interface:
CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty
@Stability(Stable)
public static final class CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.referenceRoleArn(String referenceRoleArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder bucketArn(String bucketArn) - Parameters:
bucketArn- Amazon Resource Name (ARN) of the S3 bucket. This parameter is required.- Returns:
this
-
fileKey
@Stability(Stable) public CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder fileKey(String fileKey) - Parameters:
fileKey- Object key name containing reference data. This parameter is required.- Returns:
this
-
referenceRoleArn
@Stability(Stable) public CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.Builder referenceRoleArn(String referenceRoleArn) Sets the value ofCfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty.getReferenceRoleArn()- Parameters:
referenceRoleArn- ARN of the IAM role that the service can assume to read data on your behalf. This parameter is required. This role must have permission for thes3:GetObjectaction on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty>- Returns:
- a new instance of
CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-