com.pulumi.aws.appflow.outputs.FlowSourceFlowConfigSourceConnectorPropertiesS3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.appflow.outputs;
import com.pulumi.aws.appflow.outputs.FlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FlowSourceFlowConfigSourceConnectorPropertiesS3 {
private String bucketName;
private String bucketPrefix;
/**
* @return When you use Amazon S3 as the source, the configuration format that you provide the flow input data. See S3 Input Format Config for details.
*
*/
private @Nullable FlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfig s3InputFormatConfig;
private FlowSourceFlowConfigSourceConnectorPropertiesS3() {}
public String bucketName() {
return this.bucketName;
}
public String bucketPrefix() {
return this.bucketPrefix;
}
/**
* @return When you use Amazon S3 as the source, the configuration format that you provide the flow input data. See S3 Input Format Config for details.
*
*/
public Optional s3InputFormatConfig() {
return Optional.ofNullable(this.s3InputFormatConfig);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowSourceFlowConfigSourceConnectorPropertiesS3 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bucketName;
private String bucketPrefix;
private @Nullable FlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfig s3InputFormatConfig;
public Builder() {}
public Builder(FlowSourceFlowConfigSourceConnectorPropertiesS3 defaults) {
Objects.requireNonNull(defaults);
this.bucketName = defaults.bucketName;
this.bucketPrefix = defaults.bucketPrefix;
this.s3InputFormatConfig = defaults.s3InputFormatConfig;
}
@CustomType.Setter
public Builder bucketName(String bucketName) {
if (bucketName == null) {
throw new MissingRequiredPropertyException("FlowSourceFlowConfigSourceConnectorPropertiesS3", "bucketName");
}
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder bucketPrefix(String bucketPrefix) {
if (bucketPrefix == null) {
throw new MissingRequiredPropertyException("FlowSourceFlowConfigSourceConnectorPropertiesS3", "bucketPrefix");
}
this.bucketPrefix = bucketPrefix;
return this;
}
@CustomType.Setter
public Builder s3InputFormatConfig(@Nullable FlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfig s3InputFormatConfig) {
this.s3InputFormatConfig = s3InputFormatConfig;
return this;
}
public FlowSourceFlowConfigSourceConnectorPropertiesS3 build() {
final var _resultValue = new FlowSourceFlowConfigSourceConnectorPropertiesS3();
_resultValue.bucketName = bucketName;
_resultValue.bucketPrefix = bucketPrefix;
_resultValue.s3InputFormatConfig = s3InputFormatConfig;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy