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

io.alauda.devops.api.model.RouteSpecFluent Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.devops.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

public interface RouteSpecFluent> extends Fluent{


    public A addToAlternateBackends(int index,RouteTargetReference item);
    public A setToAlternateBackends(int index,RouteTargetReference item);
    public A addToAlternateBackends(RouteTargetReference... items);
    public A addAllToAlternateBackends(Collection items);
    public A removeFromAlternateBackends(RouteTargetReference... items);
    public A removeAllFromAlternateBackends(Collection items);
    
/**
 * This method has been deprecated, please use method buildAlternateBackends instead.
 */
@Deprecated public List getAlternateBackends();
    public List buildAlternateBackends();
    public RouteTargetReference buildAlternateBackend(int index);
    public RouteTargetReference buildFirstAlternateBackend();
    public RouteTargetReference buildLastAlternateBackend();
    public RouteTargetReference buildMatchingAlternateBackend(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withAlternateBackends(List alternateBackends);
    public A withAlternateBackends(RouteTargetReference... alternateBackends);
    public Boolean hasAlternateBackends();
    public RouteSpecFluent.AlternateBackendsNested addNewAlternateBackend();
    public RouteSpecFluent.AlternateBackendsNested addNewAlternateBackendLike(RouteTargetReference item);
    public RouteSpecFluent.AlternateBackendsNested setNewAlternateBackendLike(int index,RouteTargetReference item);
    public RouteSpecFluent.AlternateBackendsNested editAlternateBackend(int index);
    public RouteSpecFluent.AlternateBackendsNested editFirstAlternateBackend();
    public RouteSpecFluent.AlternateBackendsNested editLastAlternateBackend();
    public RouteSpecFluent.AlternateBackendsNested editMatchingAlternateBackend(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A addNewAlternateBackend(String kind,String name,Integer weight);
    public String getHost();
    public A withHost(String host);
    public Boolean hasHost();
    public String getPath();
    public A withPath(String path);
    public Boolean hasPath();
    
/**
 * This method has been deprecated, please use method buildPort instead.
 */
@Deprecated public RoutePort getPort();
    public RoutePort buildPort();
    public A withPort(RoutePort port);
    public Boolean hasPort();
    public RouteSpecFluent.PortNested withNewPort();
    public RouteSpecFluent.PortNested withNewPortLike(RoutePort item);
    public RouteSpecFluent.PortNested editPort();
    public RouteSpecFluent.PortNested editOrNewPort();
    public RouteSpecFluent.PortNested editOrNewPortLike(RoutePort item);
    
/**
 * This method has been deprecated, please use method buildTls instead.
 */
@Deprecated public TLSConfig getTls();
    public TLSConfig buildTls();
    public A withTls(TLSConfig tls);
    public Boolean hasTls();
    public RouteSpecFluent.TlsNested withNewTls();
    public RouteSpecFluent.TlsNested withNewTlsLike(TLSConfig item);
    public RouteSpecFluent.TlsNested editTls();
    public RouteSpecFluent.TlsNested editOrNewTls();
    public RouteSpecFluent.TlsNested editOrNewTlsLike(TLSConfig item);
    
/**
 * This method has been deprecated, please use method buildTo instead.
 */
@Deprecated public RouteTargetReference getTo();
    public RouteTargetReference buildTo();
    public A withTo(RouteTargetReference to);
    public Boolean hasTo();
    public RouteSpecFluent.ToNested withNewTo();
    public RouteSpecFluent.ToNested withNewToLike(RouteTargetReference item);
    public RouteSpecFluent.ToNested editTo();
    public RouteSpecFluent.ToNested editOrNewTo();
    public RouteSpecFluent.ToNested editOrNewToLike(RouteTargetReference item);
    public A withNewTo(String kind,String name,Integer weight);
    public String getWildcardPolicy();
    public A withWildcardPolicy(String wildcardPolicy);
    public Boolean hasWildcardPolicy();

    public interface AlternateBackendsNested extends io.alauda.kubernetes.api.builder.Nested,RouteTargetReferenceFluent>{

        
    public N and();    public N endAlternateBackend();
}
    public interface PortNested extends io.alauda.kubernetes.api.builder.Nested,RoutePortFluent>{

        
    public N and();    public N endPort();
}
    public interface TlsNested extends io.alauda.kubernetes.api.builder.Nested,TLSConfigFluent>{

        
    public N and();    public N endTls();
}
    public interface ToNested extends io.alauda.kubernetes.api.builder.Nested,RouteTargetReferenceFluent>{

        
    public N and();    public N endTo();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy