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

com.pulumi.azurenative.testbase.outputs.GetDraftPackagePathResult Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetDraftPackagePathResult {
    /**
     * @return The base URL of the storage account.
     * 
     */
    private String baseUrl;
    /**
     * @return The relative path of the folder hosting package files.
     * 
     */
    private String draftPackagePath;
    /**
     * @return Expiry date of the SAS token.
     * 
     */
    private String expirationTime;
    /**
     * @return A SAS token for the storage account to access workspace.
     * 
     */
    private String sasToken;
    /**
     * @return The relative path for a temporary folder for package creation work.
     * 
     */
    private String workingPath;

    private GetDraftPackagePathResult() {}
    /**
     * @return The base URL of the storage account.
     * 
     */
    public String baseUrl() {
        return this.baseUrl;
    }
    /**
     * @return The relative path of the folder hosting package files.
     * 
     */
    public String draftPackagePath() {
        return this.draftPackagePath;
    }
    /**
     * @return Expiry date of the SAS token.
     * 
     */
    public String expirationTime() {
        return this.expirationTime;
    }
    /**
     * @return A SAS token for the storage account to access workspace.
     * 
     */
    public String sasToken() {
        return this.sasToken;
    }
    /**
     * @return The relative path for a temporary folder for package creation work.
     * 
     */
    public String workingPath() {
        return this.workingPath;
    }

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

    public static Builder builder(GetDraftPackagePathResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String baseUrl;
        private String draftPackagePath;
        private String expirationTime;
        private String sasToken;
        private String workingPath;
        public Builder() {}
        public Builder(GetDraftPackagePathResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.baseUrl = defaults.baseUrl;
    	      this.draftPackagePath = defaults.draftPackagePath;
    	      this.expirationTime = defaults.expirationTime;
    	      this.sasToken = defaults.sasToken;
    	      this.workingPath = defaults.workingPath;
        }

        @CustomType.Setter
        public Builder baseUrl(String baseUrl) {
            if (baseUrl == null) {
              throw new MissingRequiredPropertyException("GetDraftPackagePathResult", "baseUrl");
            }
            this.baseUrl = baseUrl;
            return this;
        }
        @CustomType.Setter
        public Builder draftPackagePath(String draftPackagePath) {
            if (draftPackagePath == null) {
              throw new MissingRequiredPropertyException("GetDraftPackagePathResult", "draftPackagePath");
            }
            this.draftPackagePath = draftPackagePath;
            return this;
        }
        @CustomType.Setter
        public Builder expirationTime(String expirationTime) {
            if (expirationTime == null) {
              throw new MissingRequiredPropertyException("GetDraftPackagePathResult", "expirationTime");
            }
            this.expirationTime = expirationTime;
            return this;
        }
        @CustomType.Setter
        public Builder sasToken(String sasToken) {
            if (sasToken == null) {
              throw new MissingRequiredPropertyException("GetDraftPackagePathResult", "sasToken");
            }
            this.sasToken = sasToken;
            return this;
        }
        @CustomType.Setter
        public Builder workingPath(String workingPath) {
            if (workingPath == null) {
              throw new MissingRequiredPropertyException("GetDraftPackagePathResult", "workingPath");
            }
            this.workingPath = workingPath;
            return this;
        }
        public GetDraftPackagePathResult build() {
            final var _resultValue = new GetDraftPackagePathResult();
            _resultValue.baseUrl = baseUrl;
            _resultValue.draftPackagePath = draftPackagePath;
            _resultValue.expirationTime = expirationTime;
            _resultValue.sasToken = sasToken;
            _resultValue.workingPath = workingPath;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy