
com.pulumi.azurenative.testbase.outputs.GetTestBaseAccountFileUploadUrlResult 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.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 GetTestBaseAccountFileUploadUrlResult {
/**
* @return The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
*
*/
private String blobPath;
/**
* @return The URL used for uploading the package.
*
*/
private String uploadUrl;
private GetTestBaseAccountFileUploadUrlResult() {}
/**
* @return The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
*
*/
public String blobPath() {
return this.blobPath;
}
/**
* @return The URL used for uploading the package.
*
*/
public String uploadUrl() {
return this.uploadUrl;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTestBaseAccountFileUploadUrlResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String blobPath;
private String uploadUrl;
public Builder() {}
public Builder(GetTestBaseAccountFileUploadUrlResult defaults) {
Objects.requireNonNull(defaults);
this.blobPath = defaults.blobPath;
this.uploadUrl = defaults.uploadUrl;
}
@CustomType.Setter
public Builder blobPath(String blobPath) {
if (blobPath == null) {
throw new MissingRequiredPropertyException("GetTestBaseAccountFileUploadUrlResult", "blobPath");
}
this.blobPath = blobPath;
return this;
}
@CustomType.Setter
public Builder uploadUrl(String uploadUrl) {
if (uploadUrl == null) {
throw new MissingRequiredPropertyException("GetTestBaseAccountFileUploadUrlResult", "uploadUrl");
}
this.uploadUrl = uploadUrl;
return this;
}
public GetTestBaseAccountFileUploadUrlResult build() {
final var _resultValue = new GetTestBaseAccountFileUploadUrlResult();
_resultValue.blobPath = blobPath;
_resultValue.uploadUrl = uploadUrl;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy