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

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

There is a newer version: 23.0.0-legacy
Show newest version
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1LoadBalancerIngressFluent>
    extends Fluent {
  public String getHostname();

  public A withHostname(java.lang.String hostname);

  public Boolean hasHostname();

  public java.lang.String getIp();

  public A withIp(java.lang.String ip);

  public java.lang.Boolean hasIp();

  public A addToPorts(Integer index, V1PortStatus item);

  public A setToPorts(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1PortStatus item);

  public A addToPorts(io.kubernetes.client.openapi.models.V1PortStatus... items);

  public A addAllToPorts(Collection items);

  public A removeFromPorts(io.kubernetes.client.openapi.models.V1PortStatus... items);

  public A removeAllFromPorts(
      java.util.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 java.util.List buildPorts();

  public io.kubernetes.client.openapi.models.V1PortStatus buildPort(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PortStatus buildFirstPort();

  public io.kubernetes.client.openapi.models.V1PortStatus buildLastPort();

  public io.kubernetes.client.openapi.models.V1PortStatus buildMatchingPort(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingPort(
      java.util.function.Predicate
          predicate);

  public A withPorts(java.util.List ports);

  public A withPorts(io.kubernetes.client.openapi.models.V1PortStatus... ports);

  public java.lang.Boolean hasPorts();

  public V1LoadBalancerIngressFluent.PortsNested addNewPort();

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested
      addNewPortLike(io.kubernetes.client.openapi.models.V1PortStatus item);

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested
      setNewPortLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1PortStatus item);

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested editPort(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested
      editFirstPort();

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested
      editLastPort();

  public io.kubernetes.client.openapi.models.V1LoadBalancerIngressFluent.PortsNested
      editMatchingPort(
          java.util.function.Predicate
              predicate);

  public interface PortsNested
      extends Nested, V1PortStatusFluent> {
    public N and();

    public N endPort();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy