
com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesS3Args Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.kinesis.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class AnalyticsApplicationReferenceDataSourcesS3Args extends com.pulumi.resources.ResourceArgs {
public static final AnalyticsApplicationReferenceDataSourcesS3Args Empty = new AnalyticsApplicationReferenceDataSourcesS3Args();
/**
* The S3 Bucket ARN.
*
*/
@Import(name="bucketArn", required=true)
private Output bucketArn;
/**
* @return The S3 Bucket ARN.
*
*/
public Output bucketArn() {
return this.bucketArn;
}
/**
* The File Key name containing reference data.
*
*/
@Import(name="fileKey", required=true)
private Output fileKey;
/**
* @return The File Key name containing reference data.
*
*/
public Output fileKey() {
return this.fileKey;
}
/**
* The IAM Role ARN to read the data.
*
*/
@Import(name="roleArn", required=true)
private Output roleArn;
/**
* @return The IAM Role ARN to read the data.
*
*/
public Output roleArn() {
return this.roleArn;
}
private AnalyticsApplicationReferenceDataSourcesS3Args() {}
private AnalyticsApplicationReferenceDataSourcesS3Args(AnalyticsApplicationReferenceDataSourcesS3Args $) {
this.bucketArn = $.bucketArn;
this.fileKey = $.fileKey;
this.roleArn = $.roleArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnalyticsApplicationReferenceDataSourcesS3Args defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AnalyticsApplicationReferenceDataSourcesS3Args $;
public Builder() {
$ = new AnalyticsApplicationReferenceDataSourcesS3Args();
}
public Builder(AnalyticsApplicationReferenceDataSourcesS3Args defaults) {
$ = new AnalyticsApplicationReferenceDataSourcesS3Args(Objects.requireNonNull(defaults));
}
/**
* @param bucketArn The S3 Bucket ARN.
*
* @return builder
*
*/
public Builder bucketArn(Output bucketArn) {
$.bucketArn = bucketArn;
return this;
}
/**
* @param bucketArn The S3 Bucket ARN.
*
* @return builder
*
*/
public Builder bucketArn(String bucketArn) {
return bucketArn(Output.of(bucketArn));
}
/**
* @param fileKey The File Key name containing reference data.
*
* @return builder
*
*/
public Builder fileKey(Output fileKey) {
$.fileKey = fileKey;
return this;
}
/**
* @param fileKey The File Key name containing reference data.
*
* @return builder
*
*/
public Builder fileKey(String fileKey) {
return fileKey(Output.of(fileKey));
}
/**
* @param roleArn The IAM Role ARN to read the data.
*
* @return builder
*
*/
public Builder roleArn(Output roleArn) {
$.roleArn = roleArn;
return this;
}
/**
* @param roleArn The IAM Role ARN to read the data.
*
* @return builder
*
*/
public Builder roleArn(String roleArn) {
return roleArn(Output.of(roleArn));
}
public AnalyticsApplicationReferenceDataSourcesS3Args build() {
if ($.bucketArn == null) {
throw new MissingRequiredPropertyException("AnalyticsApplicationReferenceDataSourcesS3Args", "bucketArn");
}
if ($.fileKey == null) {
throw new MissingRequiredPropertyException("AnalyticsApplicationReferenceDataSourcesS3Args", "fileKey");
}
if ($.roleArn == null) {
throw new MissingRequiredPropertyException("AnalyticsApplicationReferenceDataSourcesS3Args", "roleArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy