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

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

There is a newer version: 2.82.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.outputs;

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

@CustomType
public final class DistcpSettingsResponse {
    /**
     * @return Specifies the Distcp options. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object distcpOptions;
    /**
     * @return Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
     * 
     */
    private Object resourceManagerEndpoint;
    /**
     * @return Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
     * 
     */
    private Object tempScriptPath;

    private DistcpSettingsResponse() {}
    /**
     * @return Specifies the Distcp options. Type: string (or Expression with resultType string).
     * 
     */
    public Optional distcpOptions() {
        return Optional.ofNullable(this.distcpOptions);
    }
    /**
     * @return Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
     * 
     */
    public Object resourceManagerEndpoint() {
        return this.resourceManagerEndpoint;
    }
    /**
     * @return Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
     * 
     */
    public Object tempScriptPath() {
        return this.tempScriptPath;
    }

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

    public static Builder builder(DistcpSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object distcpOptions;
        private Object resourceManagerEndpoint;
        private Object tempScriptPath;
        public Builder() {}
        public Builder(DistcpSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.distcpOptions = defaults.distcpOptions;
    	      this.resourceManagerEndpoint = defaults.resourceManagerEndpoint;
    	      this.tempScriptPath = defaults.tempScriptPath;
        }

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

            this.distcpOptions = distcpOptions;
            return this;
        }
        @CustomType.Setter
        public Builder resourceManagerEndpoint(Object resourceManagerEndpoint) {
            if (resourceManagerEndpoint == null) {
              throw new MissingRequiredPropertyException("DistcpSettingsResponse", "resourceManagerEndpoint");
            }
            this.resourceManagerEndpoint = resourceManagerEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder tempScriptPath(Object tempScriptPath) {
            if (tempScriptPath == null) {
              throw new MissingRequiredPropertyException("DistcpSettingsResponse", "tempScriptPath");
            }
            this.tempScriptPath = tempScriptPath;
            return this;
        }
        public DistcpSettingsResponse build() {
            final var _resultValue = new DistcpSettingsResponse();
            _resultValue.distcpOptions = distcpOptions;
            _resultValue.resourceManagerEndpoint = resourceManagerEndpoint;
            _resultValue.tempScriptPath = tempScriptPath;
            return _resultValue;
        }
    }
}