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

com.pulumi.azurenative.datafactory.outputs.SkipErrorFileResponse Maven / Gradle / Ivy

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.azurenative.datafactory.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SkipErrorFileResponse {
    /**
     * @return Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object dataInconsistency;
    /**
     * @return Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object fileMissing;

    private SkipErrorFileResponse() {}
    /**
     * @return Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional dataInconsistency() {
        return Optional.ofNullable(this.dataInconsistency);
    }
    /**
     * @return Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional fileMissing() {
        return Optional.ofNullable(this.fileMissing);
    }

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

    public static Builder builder(SkipErrorFileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object dataInconsistency;
        private @Nullable Object fileMissing;
        public Builder() {}
        public Builder(SkipErrorFileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataInconsistency = defaults.dataInconsistency;
    	      this.fileMissing = defaults.fileMissing;
        }

        @CustomType.Setter
        public Builder dataInconsistency(@Nullable Object dataInconsistency) {

            this.dataInconsistency = dataInconsistency;
            return this;
        }
        @CustomType.Setter
        public Builder fileMissing(@Nullable Object fileMissing) {

            this.fileMissing = fileMissing;
            return this;
        }
        public SkipErrorFileResponse build() {
            final var _resultValue = new SkipErrorFileResponse();
            _resultValue.dataInconsistency = dataInconsistency;
            _resultValue.fileMissing = fileMissing;
            return _resultValue;
        }
    }
}