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

com.pulumi.azurenative.datafactory.outputs.SSISLogLocationResponse 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.SSISAccessCredentialResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SSISLogLocationResponse {
    /**
     * @return The package execution log access credential.
     * 
     */
    private @Nullable SSISAccessCredentialResponse accessCredential;
    /**
     * @return The SSIS package execution log path. Type: string (or Expression with resultType string).
     * 
     */
    private Object logPath;
    /**
     * @return Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    private @Nullable Object logRefreshInterval;
    /**
     * @return The type of SSIS log location.
     * 
     */
    private String type;

    private SSISLogLocationResponse() {}
    /**
     * @return The package execution log access credential.
     * 
     */
    public Optional accessCredential() {
        return Optional.ofNullable(this.accessCredential);
    }
    /**
     * @return The SSIS package execution log path. Type: string (or Expression with resultType string).
     * 
     */
    public Object logPath() {
        return this.logPath;
    }
    /**
     * @return Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    public Optional logRefreshInterval() {
        return Optional.ofNullable(this.logRefreshInterval);
    }
    /**
     * @return The type of SSIS log location.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(SSISLogLocationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable SSISAccessCredentialResponse accessCredential;
        private Object logPath;
        private @Nullable Object logRefreshInterval;
        private String type;
        public Builder() {}
        public Builder(SSISLogLocationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessCredential = defaults.accessCredential;
    	      this.logPath = defaults.logPath;
    	      this.logRefreshInterval = defaults.logRefreshInterval;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder accessCredential(@Nullable SSISAccessCredentialResponse accessCredential) {

            this.accessCredential = accessCredential;
            return this;
        }
        @CustomType.Setter
        public Builder logPath(Object logPath) {
            if (logPath == null) {
              throw new MissingRequiredPropertyException("SSISLogLocationResponse", "logPath");
            }
            this.logPath = logPath;
            return this;
        }
        @CustomType.Setter
        public Builder logRefreshInterval(@Nullable Object logRefreshInterval) {

            this.logRefreshInterval = logRefreshInterval;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("SSISLogLocationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public SSISLogLocationResponse build() {
            final var _resultValue = new SSISLogLocationResponse();
            _resultValue.accessCredential = accessCredential;
            _resultValue.logPath = logPath;
            _resultValue.logRefreshInterval = logRefreshInterval;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}