All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.inputs;

import com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs extends com.pulumi.resources.ResourceArgs {

    public static final FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs Empty = new FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs();

    @Import(name="bucketName", required=true)
    private Output bucketName;

    public Output bucketName() {
        return this.bucketName;
    }

    @Import(name="bucketPrefix")
    private @Nullable Output bucketPrefix;

    public Optional> bucketPrefix() {
        return Optional.ofNullable(this.bucketPrefix);
    }

    @Import(name="s3OutputFormatConfig", required=true)
    private Output s3OutputFormatConfig;

    public Output s3OutputFormatConfig() {
        return this.s3OutputFormatConfig;
    }

    private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs() {}

    private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs $) {
        this.bucketName = $.bucketName;
        this.bucketPrefix = $.bucketPrefix;
        this.s3OutputFormatConfig = $.s3OutputFormatConfig;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs $;

        public Builder() {
            $ = new FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs();
        }

        public Builder(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs defaults) {
            $ = new FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs(Objects.requireNonNull(defaults));
        }

        public Builder bucketName(Output bucketName) {
            $.bucketName = bucketName;
            return this;
        }

        public Builder bucketName(String bucketName) {
            return bucketName(Output.of(bucketName));
        }

        public Builder bucketPrefix(@Nullable Output bucketPrefix) {
            $.bucketPrefix = bucketPrefix;
            return this;
        }

        public Builder bucketPrefix(String bucketPrefix) {
            return bucketPrefix(Output.of(bucketPrefix));
        }

        public Builder s3OutputFormatConfig(Output s3OutputFormatConfig) {
            $.s3OutputFormatConfig = s3OutputFormatConfig;
            return this;
        }

        public Builder s3OutputFormatConfig(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigArgs s3OutputFormatConfig) {
            return s3OutputFormatConfig(Output.of(s3OutputFormatConfig));
        }

        public FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs build() {
            if ($.bucketName == null) {
                throw new MissingRequiredPropertyException("FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs", "bucketName");
            }
            if ($.s3OutputFormatConfig == null) {
                throw new MissingRequiredPropertyException("FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverArgs", "s3OutputFormatConfig");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy