
com.pulumi.azurenative.containerregistry.outputs.StatusResponse 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.containerregistry.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class StatusResponse {
/**
* @return The short label for the status.
*
*/
private String displayStatus;
/**
* @return The detailed message for the status, including alerts and error messages.
*
*/
private String message;
/**
* @return The timestamp when the status was changed to the current value.
*
*/
private String timestamp;
private StatusResponse() {}
/**
* @return The short label for the status.
*
*/
public String displayStatus() {
return this.displayStatus;
}
/**
* @return The detailed message for the status, including alerts and error messages.
*
*/
public String message() {
return this.message;
}
/**
* @return The timestamp when the status was changed to the current value.
*
*/
public String timestamp() {
return this.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String displayStatus;
private String message;
private String timestamp;
public Builder() {}
public Builder(StatusResponse defaults) {
Objects.requireNonNull(defaults);
this.displayStatus = defaults.displayStatus;
this.message = defaults.message;
this.timestamp = defaults.timestamp;
}
@CustomType.Setter
public Builder displayStatus(String displayStatus) {
if (displayStatus == null) {
throw new MissingRequiredPropertyException("StatusResponse", "displayStatus");
}
this.displayStatus = displayStatus;
return this;
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("StatusResponse", "message");
}
this.message = message;
return this;
}
@CustomType.Setter
public Builder timestamp(String timestamp) {
if (timestamp == null) {
throw new MissingRequiredPropertyException("StatusResponse", "timestamp");
}
this.timestamp = timestamp;
return this;
}
public StatusResponse build() {
final var _resultValue = new StatusResponse();
_resultValue.displayStatus = displayStatus;
_resultValue.message = message;
_resultValue.timestamp = timestamp;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy