
io.fabric8.kubernetes.api.model.EventSourceFluentImpl 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 EventSourceFluentImpl> extends BaseFluent implements EventSourceFluent{
String component; String host;
public EventSourceFluentImpl(){
}
public EventSourceFluentImpl( EventSource instance ){
this.withComponent(instance.getComponent()); this.withHost(instance.getHost());
}
public String getComponent(){
return this.component;
}
public A withComponent( String component){
this.component=component; return (A) this;
}
public String getHost(){
return this.host;
}
public A withHost( String host){
this.host=host; return (A) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EventSourceFluentImpl that = (EventSourceFluentImpl) o;
if (component != null ? !component.equals(that.component) :that.component != null) return false;
if (host != null ? !host.equals(that.host) :that.host != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy