
com.pulumi.azurenative.storage.outputs.BlobRestoreStatusResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.storage.outputs;
import com.pulumi.azurenative.storage.outputs.BlobRestoreParametersResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class BlobRestoreStatusResponse {
/**
* @return Failure reason when blob restore is failed.
*
*/
private String failureReason;
/**
* @return Blob restore request parameters.
*
*/
private BlobRestoreParametersResponse parameters;
/**
* @return Id for tracking blob restore request.
*
*/
private String restoreId;
/**
* @return The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
*
*/
private String status;
private BlobRestoreStatusResponse() {}
/**
* @return Failure reason when blob restore is failed.
*
*/
public String failureReason() {
return this.failureReason;
}
/**
* @return Blob restore request parameters.
*
*/
public BlobRestoreParametersResponse parameters() {
return this.parameters;
}
/**
* @return Id for tracking blob restore request.
*
*/
public String restoreId() {
return this.restoreId;
}
/**
* @return The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BlobRestoreStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String failureReason;
private BlobRestoreParametersResponse parameters;
private String restoreId;
private String status;
public Builder() {}
public Builder(BlobRestoreStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.failureReason = defaults.failureReason;
this.parameters = defaults.parameters;
this.restoreId = defaults.restoreId;
this.status = defaults.status;
}
@CustomType.Setter
public Builder failureReason(String failureReason) {
if (failureReason == null) {
throw new MissingRequiredPropertyException("BlobRestoreStatusResponse", "failureReason");
}
this.failureReason = failureReason;
return this;
}
@CustomType.Setter
public Builder parameters(BlobRestoreParametersResponse parameters) {
if (parameters == null) {
throw new MissingRequiredPropertyException("BlobRestoreStatusResponse", "parameters");
}
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder restoreId(String restoreId) {
if (restoreId == null) {
throw new MissingRequiredPropertyException("BlobRestoreStatusResponse", "restoreId");
}
this.restoreId = restoreId;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("BlobRestoreStatusResponse", "status");
}
this.status = status;
return this;
}
public BlobRestoreStatusResponse build() {
final var _resultValue = new BlobRestoreStatusResponse();
_resultValue.failureReason = failureReason;
_resultValue.parameters = parameters;
_resultValue.restoreId = restoreId;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy