io.debezium.operator.api.model.status.Condition Maven / Gradle / Ivy
The newest version!
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.operator.api.model.status;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import io.debezium.operator.docs.annotations.Documented;
import io.sundr.builder.annotations.Buildable;
@Buildable(editableEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", lazyCollectionInitEnabled = false)
@Documented
public class Condition {
public static final String TRUE = "True";
public static final String FALSE = "False";
@JsonPropertyDescription("The status of the condition, either True, False or Unknown.")
private String status;
@JsonPropertyDescription("Human-readable message indicating details about the condition’s last transition.")
private String message;
@JsonPropertyDescription("Unique identifier of a condition.")
private String type;
public Condition() {
}
public Condition(String type, String status, String message) {
this.status = status;
this.message = message;
this.type = type;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy