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

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

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs Empty = new FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs();

    /**
     * Determines the level of granularity that's included in the prefix. Valid values are `YEAR`, `MONTH`, `DAY`, `HOUR`, and `MINUTE`.
     * 
     */
    @Import(name="prefixFormat")
    private @Nullable Output prefixFormat;

    /**
     * @return Determines the level of granularity that's included in the prefix. Valid values are `YEAR`, `MONTH`, `DAY`, `HOUR`, and `MINUTE`.
     * 
     */
    public Optional> prefixFormat() {
        return Optional.ofNullable(this.prefixFormat);
    }

    /**
     * Determines whether the destination file path includes either or both of the selected elements. Valid values are `EXECUTION_ID` and `SCHEMA_VERSION`
     * 
     */
    @Import(name="prefixHierarchies")
    private @Nullable Output> prefixHierarchies;

    /**
     * @return Determines whether the destination file path includes either or both of the selected elements. Valid values are `EXECUTION_ID` and `SCHEMA_VERSION`
     * 
     */
    public Optional>> prefixHierarchies() {
        return Optional.ofNullable(this.prefixHierarchies);
    }

    /**
     * Determines the format of the prefix, and whether it applies to the file name, file path, or both. Valid values are `FILENAME`, `PATH`, and `PATH_AND_FILENAME`.
     * 
     */
    @Import(name="prefixType", required=true)
    private Output prefixType;

    /**
     * @return Determines the format of the prefix, and whether it applies to the file name, file path, or both. Valid values are `FILENAME`, `PATH`, and `PATH_AND_FILENAME`.
     * 
     */
    public Output prefixType() {
        return this.prefixType;
    }

    private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs() {}

    private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs(FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs $) {
        this.prefixFormat = $.prefixFormat;
        this.prefixHierarchies = $.prefixHierarchies;
        this.prefixType = $.prefixType;
    }

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

    public static final class Builder {
        private FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs $;

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

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

        /**
         * @param prefixFormat Determines the level of granularity that's included in the prefix. Valid values are `YEAR`, `MONTH`, `DAY`, `HOUR`, and `MINUTE`.
         * 
         * @return builder
         * 
         */
        public Builder prefixFormat(@Nullable Output prefixFormat) {
            $.prefixFormat = prefixFormat;
            return this;
        }

        /**
         * @param prefixFormat Determines the level of granularity that's included in the prefix. Valid values are `YEAR`, `MONTH`, `DAY`, `HOUR`, and `MINUTE`.
         * 
         * @return builder
         * 
         */
        public Builder prefixFormat(String prefixFormat) {
            return prefixFormat(Output.of(prefixFormat));
        }

        /**
         * @param prefixHierarchies Determines whether the destination file path includes either or both of the selected elements. Valid values are `EXECUTION_ID` and `SCHEMA_VERSION`
         * 
         * @return builder
         * 
         */
        public Builder prefixHierarchies(@Nullable Output> prefixHierarchies) {
            $.prefixHierarchies = prefixHierarchies;
            return this;
        }

        /**
         * @param prefixHierarchies Determines whether the destination file path includes either or both of the selected elements. Valid values are `EXECUTION_ID` and `SCHEMA_VERSION`
         * 
         * @return builder
         * 
         */
        public Builder prefixHierarchies(List prefixHierarchies) {
            return prefixHierarchies(Output.of(prefixHierarchies));
        }

        /**
         * @param prefixHierarchies Determines whether the destination file path includes either or both of the selected elements. Valid values are `EXECUTION_ID` and `SCHEMA_VERSION`
         * 
         * @return builder
         * 
         */
        public Builder prefixHierarchies(String... prefixHierarchies) {
            return prefixHierarchies(List.of(prefixHierarchies));
        }

        /**
         * @param prefixType Determines the format of the prefix, and whether it applies to the file name, file path, or both. Valid values are `FILENAME`, `PATH`, and `PATH_AND_FILENAME`.
         * 
         * @return builder
         * 
         */
        public Builder prefixType(Output prefixType) {
            $.prefixType = prefixType;
            return this;
        }

        /**
         * @param prefixType Determines the format of the prefix, and whether it applies to the file name, file path, or both. Valid values are `FILENAME`, `PATH`, and `PATH_AND_FILENAME`.
         * 
         * @return builder
         * 
         */
        public Builder prefixType(String prefixType) {
            return prefixType(Output.of(prefixType));
        }

        public FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs build() {
            if ($.prefixType == null) {
                throw new MissingRequiredPropertyException("FlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigArgs", "prefixType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy