com.pulumi.aws.appflow.outputs.FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig 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.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig {
/**
* @return Name of the Amazon S3 bucket.
*
*/
private @Nullable String bucketName;
/**
* @return Amazon S3 bucket prefix.
*
*/
private @Nullable String bucketPrefix;
/**
* @return If the flow should fail after the first instance of a failure when attempting to place data in the destination.
*
*/
private @Nullable Boolean failOnFirstDestinationError;
private FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig() {}
/**
* @return Name of the Amazon S3 bucket.
*
*/
public Optional bucketName() {
return Optional.ofNullable(this.bucketName);
}
/**
* @return Amazon S3 bucket prefix.
*
*/
public Optional bucketPrefix() {
return Optional.ofNullable(this.bucketPrefix);
}
/**
* @return If the flow should fail after the first instance of a failure when attempting to place data in the destination.
*
*/
public Optional failOnFirstDestinationError() {
return Optional.ofNullable(this.failOnFirstDestinationError);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String bucketName;
private @Nullable String bucketPrefix;
private @Nullable Boolean failOnFirstDestinationError;
public Builder() {}
public Builder(FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig defaults) {
Objects.requireNonNull(defaults);
this.bucketName = defaults.bucketName;
this.bucketPrefix = defaults.bucketPrefix;
this.failOnFirstDestinationError = defaults.failOnFirstDestinationError;
}
@CustomType.Setter
public Builder bucketName(@Nullable String bucketName) {
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder bucketPrefix(@Nullable String bucketPrefix) {
this.bucketPrefix = bucketPrefix;
return this;
}
@CustomType.Setter
public Builder failOnFirstDestinationError(@Nullable Boolean failOnFirstDestinationError) {
this.failOnFirstDestinationError = failOnFirstDestinationError;
return this;
}
public FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig build() {
final var _resultValue = new FlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfig();
_resultValue.bucketName = bucketName;
_resultValue.bucketPrefix = bucketPrefix;
_resultValue.failOnFirstDestinationError = failOnFirstDestinationError;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy