annotations.io.alauda.kubernetes.api.model.EndpointSubsetFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.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 EndpointSubsetFluent> extends Fluent{
public A addToAddresses(int index,EndpointAddress item);
public A setToAddresses(int index,EndpointAddress item);
public A addToAddresses(EndpointAddress... items);
public A addAllToAddresses(Collection items);
public A removeFromAddresses(EndpointAddress... items);
public A removeAllFromAddresses(Collection items);
/**
* This method has been deprecated, please use method buildAddresses instead.
*/
@Deprecated public List getAddresses();
public List buildAddresses();
public EndpointAddress buildAddress(int index);
public EndpointAddress buildFirstAddress();
public EndpointAddress buildLastAddress();
public EndpointAddress buildMatchingAddress(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withAddresses(List addresses);
public A withAddresses(EndpointAddress... addresses);
public Boolean hasAddresses();
public EndpointSubsetFluent.AddressesNested addNewAddress();
public EndpointSubsetFluent.AddressesNested addNewAddressLike(EndpointAddress item);
public EndpointSubsetFluent.AddressesNested setNewAddressLike(int index,EndpointAddress item);
public EndpointSubsetFluent.AddressesNested editAddress(int index);
public EndpointSubsetFluent.AddressesNested editFirstAddress();
public EndpointSubsetFluent.AddressesNested editLastAddress();
public EndpointSubsetFluent.AddressesNested editMatchingAddress(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addToNotReadyAddresses(int index,EndpointAddress item);
public A setToNotReadyAddresses(int index,EndpointAddress item);
public A addToNotReadyAddresses(EndpointAddress... items);
public A addAllToNotReadyAddresses(Collection items);
public A removeFromNotReadyAddresses(EndpointAddress... items);
public A removeAllFromNotReadyAddresses(Collection items);
/**
* This method has been deprecated, please use method buildNotReadyAddresses instead.
*/
@Deprecated public List getNotReadyAddresses();
public List buildNotReadyAddresses();
public EndpointAddress buildNotReadyAddress(int index);
public EndpointAddress buildFirstNotReadyAddress();
public EndpointAddress buildLastNotReadyAddress();
public EndpointAddress buildMatchingNotReadyAddress(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withNotReadyAddresses(List notReadyAddresses);
public A withNotReadyAddresses(EndpointAddress... notReadyAddresses);
public Boolean hasNotReadyAddresses();
public EndpointSubsetFluent.NotReadyAddressesNested addNewNotReadyAddress();
public EndpointSubsetFluent.NotReadyAddressesNested addNewNotReadyAddressLike(EndpointAddress item);
public EndpointSubsetFluent.NotReadyAddressesNested setNewNotReadyAddressLike(int index,EndpointAddress item);
public EndpointSubsetFluent.NotReadyAddressesNested editNotReadyAddress(int index);
public EndpointSubsetFluent.NotReadyAddressesNested editFirstNotReadyAddress();
public EndpointSubsetFluent.NotReadyAddressesNested editLastNotReadyAddress();
public EndpointSubsetFluent.NotReadyAddressesNested editMatchingNotReadyAddress(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addToPorts(int index,EndpointPort item);
public A setToPorts(int index,EndpointPort item);
public A addToPorts(EndpointPort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(EndpointPort... items);
public A removeAllFromPorts(Collection items);
/**
* This method has been deprecated, please use method buildPorts instead.
*/
@Deprecated public List getPorts();
public List buildPorts();
public EndpointPort buildPort(int index);
public EndpointPort buildFirstPort();
public EndpointPort buildLastPort();
public EndpointPort buildMatchingPort(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withPorts(List ports);
public A withPorts(EndpointPort... ports);
public Boolean hasPorts();
public EndpointSubsetFluent.PortsNested addNewPort();
public EndpointSubsetFluent.PortsNested addNewPortLike(EndpointPort item);
public EndpointSubsetFluent.PortsNested setNewPortLike(int index,EndpointPort item);
public EndpointSubsetFluent.PortsNested editPort(int index);
public EndpointSubsetFluent.PortsNested editFirstPort();
public EndpointSubsetFluent.PortsNested editLastPort();
public EndpointSubsetFluent.PortsNested editMatchingPort(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewPort(String name,Integer port,String protocol);
public interface AddressesNested extends io.alauda.kubernetes.api.builder.Nested,EndpointAddressFluent>{
public N and(); public N endAddress();
}
public interface NotReadyAddressesNested extends io.alauda.kubernetes.api.builder.Nested,EndpointAddressFluent>{
public N and(); public N endNotReadyAddress();
}
public interface PortsNested extends io.alauda.kubernetes.api.builder.Nested,EndpointPortFluent>{
public N and(); public N endPort();
}
}