All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.snowdrop.istio.api.model.v1.routing.LoadBalancingFluentImpl Maven / Gradle / Ivy

package me.snowdrop.istio.api.model.v1.routing;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;

public class LoadBalancingFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements LoadBalancingFluent{

    private Object lbPolicy;

    public LoadBalancingFluentImpl(){
    }
    public LoadBalancingFluentImpl(LoadBalancing instance){
            this.withLbPolicy(instance.getLbPolicy()); 
    }

    public Object getLbPolicy(){
            return this.lbPolicy;
    }

    public A withLbPolicy(Object lbPolicy){
            this.lbPolicy=lbPolicy; return (A) this;
    }

    public Boolean hasLbPolicy(){
            return this.lbPolicy != null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            LoadBalancingFluentImpl that = (LoadBalancingFluentImpl) o;
            if (lbPolicy != null &&lbPolicy != this ? !lbPolicy.equals(that.lbPolicy) :that.lbPolicy != null &&lbPolicy != this ) return false;

            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy