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

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

There is a newer version: 2.89.2
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.azurenative.datafactory.outputs.AzureKeyVaultSecretReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.SSISAccessCredentialResponse;
import com.pulumi.azurenative.datafactory.outputs.SSISChildPackageResponse;
import com.pulumi.azurenative.datafactory.outputs.SecureStringResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SSISPackageLocationResponse {
    /**
     * @return The package access credential.
     * 
     */
    private @Nullable SSISAccessCredentialResponse accessCredential;
    /**
     * @return The embedded child package list.
     * 
     */
    private @Nullable List childPackages;
    /**
     * @return The configuration file access credential.
     * 
     */
    private @Nullable SSISAccessCredentialResponse configurationAccessCredential;
    /**
     * @return The configuration file of the package execution. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object configurationPath;
    /**
     * @return The embedded package content. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object packageContent;
    /**
     * @return The embedded package last modified date.
     * 
     */
    private @Nullable String packageLastModifiedDate;
    /**
     * @return The package name.
     * 
     */
    private @Nullable String packageName;
    /**
     * @return Password of the package.
     * 
     */
    private @Nullable Either packagePassword;
    /**
     * @return The SSIS package path. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object packagePath;
    /**
     * @return The type of SSIS package location.
     * 
     */
    private @Nullable String type;

    private SSISPackageLocationResponse() {}
    /**
     * @return The package access credential.
     * 
     */
    public Optional accessCredential() {
        return Optional.ofNullable(this.accessCredential);
    }
    /**
     * @return The embedded child package list.
     * 
     */
    public List childPackages() {
        return this.childPackages == null ? List.of() : this.childPackages;
    }
    /**
     * @return The configuration file access credential.
     * 
     */
    public Optional configurationAccessCredential() {
        return Optional.ofNullable(this.configurationAccessCredential);
    }
    /**
     * @return The configuration file of the package execution. Type: string (or Expression with resultType string).
     * 
     */
    public Optional configurationPath() {
        return Optional.ofNullable(this.configurationPath);
    }
    /**
     * @return The embedded package content. Type: string (or Expression with resultType string).
     * 
     */
    public Optional packageContent() {
        return Optional.ofNullable(this.packageContent);
    }
    /**
     * @return The embedded package last modified date.
     * 
     */
    public Optional packageLastModifiedDate() {
        return Optional.ofNullable(this.packageLastModifiedDate);
    }
    /**
     * @return The package name.
     * 
     */
    public Optional packageName() {
        return Optional.ofNullable(this.packageName);
    }
    /**
     * @return Password of the package.
     * 
     */
    public Optional> packagePassword() {
        return Optional.ofNullable(this.packagePassword);
    }
    /**
     * @return The SSIS package path. Type: string (or Expression with resultType string).
     * 
     */
    public Optional packagePath() {
        return Optional.ofNullable(this.packagePath);
    }
    /**
     * @return The type of SSIS package location.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(SSISPackageLocationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable SSISAccessCredentialResponse accessCredential;
        private @Nullable List childPackages;
        private @Nullable SSISAccessCredentialResponse configurationAccessCredential;
        private @Nullable Object configurationPath;
        private @Nullable Object packageContent;
        private @Nullable String packageLastModifiedDate;
        private @Nullable String packageName;
        private @Nullable Either packagePassword;
        private @Nullable Object packagePath;
        private @Nullable String type;
        public Builder() {}
        public Builder(SSISPackageLocationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessCredential = defaults.accessCredential;
    	      this.childPackages = defaults.childPackages;
    	      this.configurationAccessCredential = defaults.configurationAccessCredential;
    	      this.configurationPath = defaults.configurationPath;
    	      this.packageContent = defaults.packageContent;
    	      this.packageLastModifiedDate = defaults.packageLastModifiedDate;
    	      this.packageName = defaults.packageName;
    	      this.packagePassword = defaults.packagePassword;
    	      this.packagePath = defaults.packagePath;
    	      this.type = defaults.type;
        }

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

            this.accessCredential = accessCredential;
            return this;
        }
        @CustomType.Setter
        public Builder childPackages(@Nullable List childPackages) {

            this.childPackages = childPackages;
            return this;
        }
        public Builder childPackages(SSISChildPackageResponse... childPackages) {
            return childPackages(List.of(childPackages));
        }
        @CustomType.Setter
        public Builder configurationAccessCredential(@Nullable SSISAccessCredentialResponse configurationAccessCredential) {

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

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

            this.packageContent = packageContent;
            return this;
        }
        @CustomType.Setter
        public Builder packageLastModifiedDate(@Nullable String packageLastModifiedDate) {

            this.packageLastModifiedDate = packageLastModifiedDate;
            return this;
        }
        @CustomType.Setter
        public Builder packageName(@Nullable String packageName) {

            this.packageName = packageName;
            return this;
        }
        @CustomType.Setter
        public Builder packagePassword(@Nullable Either packagePassword) {

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

            this.packagePath = packagePath;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public SSISPackageLocationResponse build() {
            final var _resultValue = new SSISPackageLocationResponse();
            _resultValue.accessCredential = accessCredential;
            _resultValue.childPackages = childPackages;
            _resultValue.configurationAccessCredential = configurationAccessCredential;
            _resultValue.configurationPath = configurationPath;
            _resultValue.packageContent = packageContent;
            _resultValue.packageLastModifiedDate = packageLastModifiedDate;
            _resultValue.packageName = packageName;
            _resultValue.packagePassword = packagePassword;
            _resultValue.packagePath = packagePath;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}