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

io.kubernetes.client.openapi.models.V1EndpointSliceFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1EndpointSliceFluent> extends Fluent{
  public String getAddressType();
  public A withAddressType(String addressType);
  public Boolean hasAddressType();
  public String getApiVersion();
  public A withApiVersion(String apiVersion);
  public Boolean hasApiVersion();
  public A addToEndpoints(Integer index,V1Endpoint item);
  public A setToEndpoints(Integer index,V1Endpoint item);
  public A addToEndpoints(io.kubernetes.client.openapi.models.V1Endpoint... items);
  public A addAllToEndpoints(Collection items);
  public A removeFromEndpoints(io.kubernetes.client.openapi.models.V1Endpoint... items);
  public A removeAllFromEndpoints(Collection items);
  public A removeMatchingFromEndpoints(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildEndpoints instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getEndpoints();
  public List buildEndpoints();
  public V1Endpoint buildEndpoint(Integer index);
  public V1Endpoint buildFirstEndpoint();
  public V1Endpoint buildLastEndpoint();
  public V1Endpoint buildMatchingEndpoint(Predicate predicate);
  public Boolean hasMatchingEndpoint(Predicate predicate);
  public A withEndpoints(List endpoints);
  public A withEndpoints(io.kubernetes.client.openapi.models.V1Endpoint... endpoints);
  public Boolean hasEndpoints();
  public V1EndpointSliceFluent.EndpointsNested addNewEndpoint();
  public V1EndpointSliceFluent.EndpointsNested addNewEndpointLike(V1Endpoint item);
  public V1EndpointSliceFluent.EndpointsNested setNewEndpointLike(Integer index,V1Endpoint item);
  public V1EndpointSliceFluent.EndpointsNested editEndpoint(Integer index);
  public V1EndpointSliceFluent.EndpointsNested editFirstEndpoint();
  public V1EndpointSliceFluent.EndpointsNested editLastEndpoint();
  public V1EndpointSliceFluent.EndpointsNested editMatchingEndpoint(Predicate predicate);
  public String getKind();
  public A withKind(String kind);
  public Boolean hasKind();
  
  /**
   * This method has been deprecated, please use method buildMetadata instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1ObjectMeta getMetadata();
  public V1ObjectMeta buildMetadata();
  public A withMetadata(V1ObjectMeta metadata);
  public Boolean hasMetadata();
  public V1EndpointSliceFluent.MetadataNested withNewMetadata();
  public V1EndpointSliceFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
  public V1EndpointSliceFluent.MetadataNested editMetadata();
  public V1EndpointSliceFluent.MetadataNested editOrNewMetadata();
  public V1EndpointSliceFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
  public A addToPorts(Integer index,DiscoveryV1EndpointPort item);
  public A setToPorts(Integer index,DiscoveryV1EndpointPort item);
  public A addToPorts(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... items);
  public A addAllToPorts(Collection items);
  public A removeFromPorts(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... items);
  public A removeAllFromPorts(Collection items);
  public A removeMatchingFromPorts(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildPorts instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getPorts();
  public List buildPorts();
  public DiscoveryV1EndpointPort buildPort(Integer index);
  public DiscoveryV1EndpointPort buildFirstPort();
  public DiscoveryV1EndpointPort buildLastPort();
  public DiscoveryV1EndpointPort buildMatchingPort(Predicate predicate);
  public Boolean hasMatchingPort(Predicate predicate);
  public A withPorts(List ports);
  public A withPorts(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... ports);
  public Boolean hasPorts();
  public V1EndpointSliceFluent.PortsNested addNewPort();
  public V1EndpointSliceFluent.PortsNested addNewPortLike(DiscoveryV1EndpointPort item);
  public V1EndpointSliceFluent.PortsNested setNewPortLike(Integer index,DiscoveryV1EndpointPort item);
  public V1EndpointSliceFluent.PortsNested editPort(Integer index);
  public V1EndpointSliceFluent.PortsNested editFirstPort();
  public V1EndpointSliceFluent.PortsNested editLastPort();
  public V1EndpointSliceFluent.PortsNested editMatchingPort(Predicate predicate);
  public interface EndpointsNested extends Nested,V1EndpointFluent>{
    public N and();
    public N endEndpoint();
    
  }
  public interface MetadataNested extends Nested,V1ObjectMetaFluent>{
    public N and();
    public N endMetadata();
    
  }
  public interface PortsNested extends Nested,DiscoveryV1EndpointPortFluent>{
    public N and();
    public N endPort();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy