com.pulumi.azurenative.azurestackhci.outputs.EceActionStatusResponse 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.azurestackhci.outputs;
import com.pulumi.azurenative.azurestackhci.outputs.DeploymentStepResponse;
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 EceActionStatusResponse {
/**
* @return Status of ECE action AzureStackHCI Cluster Deployment.
*
*/
private String status;
/**
* @return List of steps of AzureStackHCI Cluster Deployment.
*
*/
private List steps;
private EceActionStatusResponse() {}
/**
* @return Status of ECE action AzureStackHCI Cluster Deployment.
*
*/
public String status() {
return this.status;
}
/**
* @return List of steps of AzureStackHCI Cluster Deployment.
*
*/
public List steps() {
return this.steps;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EceActionStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String status;
private List steps;
public Builder() {}
public Builder(EceActionStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.status = defaults.status;
this.steps = defaults.steps;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("EceActionStatusResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder steps(List steps) {
if (steps == null) {
throw new MissingRequiredPropertyException("EceActionStatusResponse", "steps");
}
this.steps = steps;
return this;
}
public Builder steps(DeploymentStepResponse... steps) {
return steps(List.of(steps));
}
public EceActionStatusResponse build() {
final var _resultValue = new EceActionStatusResponse();
_resultValue.status = status;
_resultValue.steps = steps;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy