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

me.snowdrop.istio.api.model.v1.mesh.OutboundTrafficPolicyFluentImpl Maven / Gradle / Ivy

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

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

public class OutboundTrafficPolicyFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements OutboundTrafficPolicyFluent{

    private Mode mode;

    public OutboundTrafficPolicyFluentImpl(){
    }
    public OutboundTrafficPolicyFluentImpl(OutboundTrafficPolicy instance){
            this.withMode(instance.getMode()); 
    }

    public Mode getMode(){
            return this.mode;
    }

    public A withMode(Mode mode){
            this.mode=mode; return (A) this;
    }

    public Boolean hasMode(){
            return this.mode != 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;
            OutboundTrafficPolicyFluentImpl that = (OutboundTrafficPolicyFluentImpl) o;
            if (mode != null ? !mode.equals(that.mode) :that.mode != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy