com.pulumi.azurenative.connectedvmwarevsphere.outputs.ResourceStatusResponse 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.connectedvmwarevsphere.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ResourceStatusResponse {
/**
* @return The last update time for this condition.
*
*/
private String lastUpdatedAt;
/**
* @return A human readable message indicating details about the status.
*
*/
private String message;
/**
* @return The reason for the condition's status.
*
*/
private String reason;
/**
* @return Severity with which to treat failures of this type of condition.
*
*/
private String severity;
/**
* @return Status of the condition.
*
*/
private String status;
/**
* @return The type of the condition.
*
*/
private String type;
private ResourceStatusResponse() {}
/**
* @return The last update time for this condition.
*
*/
public String lastUpdatedAt() {
return this.lastUpdatedAt;
}
/**
* @return A human readable message indicating details about the status.
*
*/
public String message() {
return this.message;
}
/**
* @return The reason for the condition's status.
*
*/
public String reason() {
return this.reason;
}
/**
* @return Severity with which to treat failures of this type of condition.
*
*/
public String severity() {
return this.severity;
}
/**
* @return Status of the condition.
*
*/
public String status() {
return this.status;
}
/**
* @return The type of the condition.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String lastUpdatedAt;
private String message;
private String reason;
private String severity;
private String status;
private String type;
public Builder() {}
public Builder(ResourceStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.lastUpdatedAt = defaults.lastUpdatedAt;
this.message = defaults.message;
this.reason = defaults.reason;
this.severity = defaults.severity;
this.status = defaults.status;
this.type = defaults.type;
}
@CustomType.Setter
public Builder lastUpdatedAt(String lastUpdatedAt) {
if (lastUpdatedAt == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "lastUpdatedAt");
}
this.lastUpdatedAt = lastUpdatedAt;
return this;
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "message");
}
this.message = message;
return this;
}
@CustomType.Setter
public Builder reason(String reason) {
if (reason == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "reason");
}
this.reason = reason;
return this;
}
@CustomType.Setter
public Builder severity(String severity) {
if (severity == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "severity");
}
this.severity = severity;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ResourceStatusResponse", "type");
}
this.type = type;
return this;
}
public ResourceStatusResponse build() {
final var _resultValue = new ResourceStatusResponse();
_resultValue.lastUpdatedAt = lastUpdatedAt;
_resultValue.message = message;
_resultValue.reason = reason;
_resultValue.severity = severity;
_resultValue.status = status;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy