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

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

// *** 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.azurenative.datafactory.outputs.LinkedServiceReferenceResponse;
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 LogLocationSettingsResponse {
    /**
     * @return Log storage linked service reference.
     * 
     */
    private LinkedServiceReferenceResponse linkedServiceName;
    /**
     * @return The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object path;

    private LogLocationSettingsResponse() {}
    /**
     * @return Log storage linked service reference.
     * 
     */
    public LinkedServiceReferenceResponse linkedServiceName() {
        return this.linkedServiceName;
    }
    /**
     * @return The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }

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

    public static Builder builder(LogLocationSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private LinkedServiceReferenceResponse linkedServiceName;
        private @Nullable Object path;
        public Builder() {}
        public Builder(LogLocationSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.linkedServiceName = defaults.linkedServiceName;
    	      this.path = defaults.path;
        }

        @CustomType.Setter
        public Builder linkedServiceName(LinkedServiceReferenceResponse linkedServiceName) {
            if (linkedServiceName == null) {
              throw new MissingRequiredPropertyException("LogLocationSettingsResponse", "linkedServiceName");
            }
            this.linkedServiceName = linkedServiceName;
            return this;
        }
        @CustomType.Setter
        public Builder path(@Nullable Object path) {

            this.path = path;
            return this;
        }
        public LogLocationSettingsResponse build() {
            final var _resultValue = new LogLocationSettingsResponse();
            _resultValue.linkedServiceName = linkedServiceName;
            _resultValue.path = path;
            return _resultValue;
        }
    }
}