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

annotations.me.snowdrop.istio.api.model.v1.routing.HTTPRetryFluentImpl 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 HTTPRetryFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements me.snowdrop.istio.api.model.v1.routing.HTTPRetryFluent{

    private Object retryPolicy;

    public HTTPRetryFluentImpl(){
    }
    public HTTPRetryFluentImpl(me.snowdrop.istio.api.model.v1.routing.HTTPRetry instance){
            this.withRetryPolicy(instance.getRetryPolicy()); 
    }

    public Object getRetryPolicy(){
            return this.retryPolicy;
    }

    public A withRetryPolicy(Object retryPolicy){
            this.retryPolicy=retryPolicy; return (A) this;
    }

    public Boolean hasRetryPolicy(){
            return this.retryPolicy != 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;
            HTTPRetryFluentImpl that = (HTTPRetryFluentImpl) o;
            if (retryPolicy != null &&retryPolicy != this ? !retryPolicy.equals(that.retryPolicy) :that.retryPolicy != null &&retryPolicy != this ) return false;

            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy