
io.fabric8.kubernetes.api.model.LoadBalancerIngressFluentImpl 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 LoadBalancerIngressFluentImpl> extends BaseFluent implements LoadBalancerIngressFluent{
String hostname; String ip;
public LoadBalancerIngressFluentImpl(){
}
public LoadBalancerIngressFluentImpl( LoadBalancerIngress instance ){
this.withHostname(instance.getHostname()); this.withIp(instance.getIp());
}
public String getHostname(){
return this.hostname;
}
public A withHostname( String hostname){
this.hostname=hostname; return (A) this;
}
public String getIp(){
return this.ip;
}
public A withIp( String ip){
this.ip=ip; return (A) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
LoadBalancerIngressFluentImpl that = (LoadBalancerIngressFluentImpl) o;
if (hostname != null ? !hostname.equals(that.hostname) :that.hostname != null) return false;
if (ip != null ? !ip.equals(that.ip) :that.ip != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy