
com.pulumi.azurenative.azurestackhci.outputs.DeploymentStepResponse 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.azurestackhci.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class DeploymentStepResponse {
/**
* @return Description of step.
*
*/
private String description;
/**
* @return End time of step.
*
*/
private String endTimeUtc;
/**
* @return List of exceptions in AzureStackHCI Cluster Deployment.
*
*/
private List exception;
/**
* @return FullStepIndex of step.
*
*/
private String fullStepIndex;
/**
* @return Name of step.
*
*/
private String name;
/**
* @return Start time of step.
*
*/
private String startTimeUtc;
/**
* @return Status of step. Allowed values are 'Error', 'Success', 'InProgress'
*
*/
private String status;
/**
* @return List of nested steps of AzureStackHCI Cluster Deployment.
*
*/
private List steps;
private DeploymentStepResponse() {}
/**
* @return Description of step.
*
*/
public String description() {
return this.description;
}
/**
* @return End time of step.
*
*/
public String endTimeUtc() {
return this.endTimeUtc;
}
/**
* @return List of exceptions in AzureStackHCI Cluster Deployment.
*
*/
public List exception() {
return this.exception;
}
/**
* @return FullStepIndex of step.
*
*/
public String fullStepIndex() {
return this.fullStepIndex;
}
/**
* @return Name of step.
*
*/
public String name() {
return this.name;
}
/**
* @return Start time of step.
*
*/
public String startTimeUtc() {
return this.startTimeUtc;
}
/**
* @return Status of step. Allowed values are 'Error', 'Success', 'InProgress'
*
*/
public String status() {
return this.status;
}
/**
* @return List of nested steps of AzureStackHCI Cluster Deployment.
*
*/
public List steps() {
return this.steps;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeploymentStepResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private String endTimeUtc;
private List exception;
private String fullStepIndex;
private String name;
private String startTimeUtc;
private String status;
private List steps;
public Builder() {}
public Builder(DeploymentStepResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.endTimeUtc = defaults.endTimeUtc;
this.exception = defaults.exception;
this.fullStepIndex = defaults.fullStepIndex;
this.name = defaults.name;
this.startTimeUtc = defaults.startTimeUtc;
this.status = defaults.status;
this.steps = defaults.steps;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder endTimeUtc(String endTimeUtc) {
if (endTimeUtc == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "endTimeUtc");
}
this.endTimeUtc = endTimeUtc;
return this;
}
@CustomType.Setter
public Builder exception(List exception) {
if (exception == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "exception");
}
this.exception = exception;
return this;
}
public Builder exception(String... exception) {
return exception(List.of(exception));
}
@CustomType.Setter
public Builder fullStepIndex(String fullStepIndex) {
if (fullStepIndex == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "fullStepIndex");
}
this.fullStepIndex = fullStepIndex;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder startTimeUtc(String startTimeUtc) {
if (startTimeUtc == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "startTimeUtc");
}
this.startTimeUtc = startTimeUtc;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder steps(List steps) {
if (steps == null) {
throw new MissingRequiredPropertyException("DeploymentStepResponse", "steps");
}
this.steps = steps;
return this;
}
public Builder steps(DeploymentStepResponse... steps) {
return steps(List.of(steps));
}
public DeploymentStepResponse build() {
final var _resultValue = new DeploymentStepResponse();
_resultValue.description = description;
_resultValue.endTimeUtc = endTimeUtc;
_resultValue.exception = exception;
_resultValue.fullStepIndex = fullStepIndex;
_resultValue.name = name;
_resultValue.startTimeUtc = startTimeUtc;
_resultValue.status = status;
_resultValue.steps = steps;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy