
com.pulumi.azurenative.customerinsights.outputs.GetImageUploadUrlForDataResult 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.customerinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetImageUploadUrlForDataResult {
/**
* @return Content URL for the image blob.
*
*/
private @Nullable String contentUrl;
/**
* @return Whether image exists already.
*
*/
private @Nullable Boolean imageExists;
/**
* @return Relative path of the image.
*
*/
private @Nullable String relativePath;
private GetImageUploadUrlForDataResult() {}
/**
* @return Content URL for the image blob.
*
*/
public Optional contentUrl() {
return Optional.ofNullable(this.contentUrl);
}
/**
* @return Whether image exists already.
*
*/
public Optional imageExists() {
return Optional.ofNullable(this.imageExists);
}
/**
* @return Relative path of the image.
*
*/
public Optional relativePath() {
return Optional.ofNullable(this.relativePath);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImageUploadUrlForDataResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String contentUrl;
private @Nullable Boolean imageExists;
private @Nullable String relativePath;
public Builder() {}
public Builder(GetImageUploadUrlForDataResult defaults) {
Objects.requireNonNull(defaults);
this.contentUrl = defaults.contentUrl;
this.imageExists = defaults.imageExists;
this.relativePath = defaults.relativePath;
}
@CustomType.Setter
public Builder contentUrl(@Nullable String contentUrl) {
this.contentUrl = contentUrl;
return this;
}
@CustomType.Setter
public Builder imageExists(@Nullable Boolean imageExists) {
this.imageExists = imageExists;
return this;
}
@CustomType.Setter
public Builder relativePath(@Nullable String relativePath) {
this.relativePath = relativePath;
return this;
}
public GetImageUploadUrlForDataResult build() {
final var _resultValue = new GetImageUploadUrlForDataResult();
_resultValue.contentUrl = contentUrl;
_resultValue.imageExists = imageExists;
_resultValue.relativePath = relativePath;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy