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

com.pulumi.azurenative.datafactory.inputs.AzureDataLakeStoreWriteSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.datafactory.inputs;

import com.pulumi.azurenative.datafactory.inputs.MetadataItemArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Azure data lake store write settings.
 * 
 */
public final class AzureDataLakeStoreWriteSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureDataLakeStoreWriteSettingsArgs Empty = new AzureDataLakeStoreWriteSettingsArgs();

    /**
     * The type of copy behavior for copy sink.
     * 
     */
    @Import(name="copyBehavior")
    private @Nullable Output copyBehavior;

    /**
     * @return The type of copy behavior for copy sink.
     * 
     */
    public Optional> copyBehavior() {
        return Optional.ofNullable(this.copyBehavior);
    }

    /**
     * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    @Import(name="disableMetricsCollection")
    private @Nullable Output disableMetricsCollection;

    /**
     * @return If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional> disableMetricsCollection() {
        return Optional.ofNullable(this.disableMetricsCollection);
    }

    /**
     * Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="expiryDateTime")
    private @Nullable Output expiryDateTime;

    /**
     * @return Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> expiryDateTime() {
        return Optional.ofNullable(this.expiryDateTime);
    }

    /**
     * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     * 
     */
    @Import(name="maxConcurrentConnections")
    private @Nullable Output maxConcurrentConnections;

    /**
     * @return The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional> maxConcurrentConnections() {
        return Optional.ofNullable(this.maxConcurrentConnections);
    }

    /**
     * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).
     * 
     */
    @Import(name="metadata")
    private @Nullable Output> metadata;

    /**
     * @return Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).
     * 
     */
    public Optional>> metadata() {
        return Optional.ofNullable(this.metadata);
    }

    /**
     * The write setting type.
     * Expected value is 'AzureDataLakeStoreWriteSettings'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The write setting type.
     * Expected value is 'AzureDataLakeStoreWriteSettings'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private AzureDataLakeStoreWriteSettingsArgs() {}

    private AzureDataLakeStoreWriteSettingsArgs(AzureDataLakeStoreWriteSettingsArgs $) {
        this.copyBehavior = $.copyBehavior;
        this.disableMetricsCollection = $.disableMetricsCollection;
        this.expiryDateTime = $.expiryDateTime;
        this.maxConcurrentConnections = $.maxConcurrentConnections;
        this.metadata = $.metadata;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AzureDataLakeStoreWriteSettingsArgs $;

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

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

        /**
         * @param copyBehavior The type of copy behavior for copy sink.
         * 
         * @return builder
         * 
         */
        public Builder copyBehavior(@Nullable Output copyBehavior) {
            $.copyBehavior = copyBehavior;
            return this;
        }

        /**
         * @param copyBehavior The type of copy behavior for copy sink.
         * 
         * @return builder
         * 
         */
        public Builder copyBehavior(Object copyBehavior) {
            return copyBehavior(Output.of(copyBehavior));
        }

        /**
         * @param disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder disableMetricsCollection(@Nullable Output disableMetricsCollection) {
            $.disableMetricsCollection = disableMetricsCollection;
            return this;
        }

        /**
         * @param disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder disableMetricsCollection(Object disableMetricsCollection) {
            return disableMetricsCollection(Output.of(disableMetricsCollection));
        }

        /**
         * @param expiryDateTime Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder expiryDateTime(@Nullable Output expiryDateTime) {
            $.expiryDateTime = expiryDateTime;
            return this;
        }

        /**
         * @param expiryDateTime Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder expiryDateTime(Object expiryDateTime) {
            return expiryDateTime(Output.of(expiryDateTime));
        }

        /**
         * @param maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
         * 
         * @return builder
         * 
         */
        public Builder maxConcurrentConnections(@Nullable Output maxConcurrentConnections) {
            $.maxConcurrentConnections = maxConcurrentConnections;
            return this;
        }

        /**
         * @param maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
         * 
         * @return builder
         * 
         */
        public Builder maxConcurrentConnections(Object maxConcurrentConnections) {
            return maxConcurrentConnections(Output.of(maxConcurrentConnections));
        }

        /**
         * @param metadata Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder metadata(@Nullable Output> metadata) {
            $.metadata = metadata;
            return this;
        }

        /**
         * @param metadata Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder metadata(List metadata) {
            return metadata(Output.of(metadata));
        }

        /**
         * @param metadata Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder metadata(MetadataItemArgs... metadata) {
            return metadata(List.of(metadata));
        }

        /**
         * @param type The write setting type.
         * Expected value is 'AzureDataLakeStoreWriteSettings'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The write setting type.
         * Expected value is 'AzureDataLakeStoreWriteSettings'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AzureDataLakeStoreWriteSettingsArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}