
com.pulumi.azurenative.containerservice.outputs.UpdateStatusResponse 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.containerservice.outputs;
import com.pulumi.azurenative.containerservice.outputs.ErrorDetailResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class UpdateStatusResponse {
/**
* @return The time the operation or group was completed.
*
*/
private String completedTime;
/**
* @return The error details when a failure is encountered.
*
*/
private ErrorDetailResponse error;
/**
* @return The time the operation or group was started.
*
*/
private String startTime;
/**
* @return The State of the operation or group.
*
*/
private String state;
private UpdateStatusResponse() {}
/**
* @return The time the operation or group was completed.
*
*/
public String completedTime() {
return this.completedTime;
}
/**
* @return The error details when a failure is encountered.
*
*/
public ErrorDetailResponse error() {
return this.error;
}
/**
* @return The time the operation or group was started.
*
*/
public String startTime() {
return this.startTime;
}
/**
* @return The State of the operation or group.
*
*/
public String state() {
return this.state;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UpdateStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String completedTime;
private ErrorDetailResponse error;
private String startTime;
private String state;
public Builder() {}
public Builder(UpdateStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.completedTime = defaults.completedTime;
this.error = defaults.error;
this.startTime = defaults.startTime;
this.state = defaults.state;
}
@CustomType.Setter
public Builder completedTime(String completedTime) {
if (completedTime == null) {
throw new MissingRequiredPropertyException("UpdateStatusResponse", "completedTime");
}
this.completedTime = completedTime;
return this;
}
@CustomType.Setter
public Builder error(ErrorDetailResponse error) {
if (error == null) {
throw new MissingRequiredPropertyException("UpdateStatusResponse", "error");
}
this.error = error;
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
if (startTime == null) {
throw new MissingRequiredPropertyException("UpdateStatusResponse", "startTime");
}
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("UpdateStatusResponse", "state");
}
this.state = state;
return this;
}
public UpdateStatusResponse build() {
final var _resultValue = new UpdateStatusResponse();
_resultValue.completedTime = completedTime;
_resultValue.error = error;
_resultValue.startTime = startTime;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy