
io.fabric8.kubernetes.api.model.PersistentVolumeStatusFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.io.Serializable;
import java.util.Map;
import java.util.Map;
import java.util.AbstractMap;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.kubernetes.api.builder.Fluent;
public class PersistentVolumeStatusFluentImpl> extends BaseFluent implements PersistentVolumeStatusFluent{
String message; String phase; String reason;
public PersistentVolumeStatusFluentImpl(){
}
public PersistentVolumeStatusFluentImpl( PersistentVolumeStatus instance ){
this.withMessage(instance.getMessage()); this.withPhase(instance.getPhase()); this.withReason(instance.getReason());
}
public String getMessage(){
return this.message;
}
public A withMessage( String message){
this.message=message; return (A) this;
}
public String getPhase(){
return this.phase;
}
public A withPhase( String phase){
this.phase=phase; return (A) this;
}
public String getReason(){
return this.reason;
}
public A withReason( String reason){
this.reason=reason; return (A) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PersistentVolumeStatusFluentImpl that = (PersistentVolumeStatusFluentImpl) o;
if (message != null ? !message.equals(that.message) :that.message != null) return false;
if (phase != null ? !phase.equals(that.phase) :that.phase != null) return false;
if (reason != null ? !reason.equals(that.reason) :that.reason != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy