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

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

There is a newer version: 22.0.0
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.Map;
import java.util.function.Predicate;

/** Generated */
public interface V1beta1EndpointFluent> extends Fluent {
  public A addToAddresses(Integer index, String item);

  public A setToAddresses(java.lang.Integer index, java.lang.String item);

  public A addToAddresses(java.lang.String... items);

  public A addAllToAddresses(Collection items);

  public A removeFromAddresses(java.lang.String... items);

  public A removeAllFromAddresses(java.util.Collection items);

  public List getAddresses();

  public java.lang.String getAddress(java.lang.Integer index);

  public java.lang.String getFirstAddress();

  public java.lang.String getLastAddress();

  public java.lang.String getMatchingAddress(Predicate predicate);

  public Boolean hasMatchingAddress(java.util.function.Predicate predicate);

  public A withAddresses(java.util.List addresses);

  public A withAddresses(java.lang.String... addresses);

  public java.lang.Boolean hasAddresses();

  /**
   * This method has been deprecated, please use method buildConditions instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1beta1EndpointConditions getConditions();

  public io.kubernetes.client.openapi.models.V1beta1EndpointConditions buildConditions();

  public A withConditions(io.kubernetes.client.openapi.models.V1beta1EndpointConditions conditions);

  public java.lang.Boolean hasConditions();

  public V1beta1EndpointFluent.ConditionsNested withNewConditions();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.ConditionsNested
      withNewConditionsLike(io.kubernetes.client.openapi.models.V1beta1EndpointConditions item);

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.ConditionsNested
      editConditions();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.ConditionsNested
      editOrNewConditions();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.ConditionsNested
      editOrNewConditionsLike(io.kubernetes.client.openapi.models.V1beta1EndpointConditions item);

  /**
   * This method has been deprecated, please use method buildHints instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V1beta1EndpointHints getHints();

  public io.kubernetes.client.openapi.models.V1beta1EndpointHints buildHints();

  public A withHints(io.kubernetes.client.openapi.models.V1beta1EndpointHints hints);

  public java.lang.Boolean hasHints();

  public V1beta1EndpointFluent.HintsNested withNewHints();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.HintsNested withNewHintsLike(
      io.kubernetes.client.openapi.models.V1beta1EndpointHints item);

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.HintsNested editHints();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.HintsNested editOrNewHints();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.HintsNested
      editOrNewHintsLike(io.kubernetes.client.openapi.models.V1beta1EndpointHints item);

  public java.lang.String getHostname();

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

  public java.lang.Boolean hasHostname();

  public java.lang.String getNodeName();

  public A withNodeName(java.lang.String nodeName);

  public java.lang.Boolean hasNodeName();

  /**
   * This method has been deprecated, please use method buildTargetRef instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V1ObjectReference getTargetRef();

  public io.kubernetes.client.openapi.models.V1ObjectReference buildTargetRef();

  public A withTargetRef(io.kubernetes.client.openapi.models.V1ObjectReference targetRef);

  public java.lang.Boolean hasTargetRef();

  public V1beta1EndpointFluent.TargetRefNested withNewTargetRef();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.TargetRefNested
      withNewTargetRefLike(io.kubernetes.client.openapi.models.V1ObjectReference item);

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.TargetRefNested
      editTargetRef();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.TargetRefNested
      editOrNewTargetRef();

  public io.kubernetes.client.openapi.models.V1beta1EndpointFluent.TargetRefNested
      editOrNewTargetRefLike(io.kubernetes.client.openapi.models.V1ObjectReference item);

  public A addToTopology(java.lang.String key, java.lang.String value);

  public A addToTopology(Map map);

  public A removeFromTopology(java.lang.String key);

  public A removeFromTopology(java.util.Map map);

  public java.util.Map getTopology();

  public  A withTopology(java.util.Map topology);

  public java.lang.Boolean hasTopology();

  public interface ConditionsNested
      extends Nested,
          V1beta1EndpointConditionsFluent> {
    public N and();

    public N endConditions();
  }

  public interface HintsNested
      extends io.kubernetes.client.fluent.Nested,
          V1beta1EndpointHintsFluent> {
    public N and();

    public N endHints();
  }

  public interface TargetRefNested
      extends io.kubernetes.client.fluent.Nested,
          V1ObjectReferenceFluent> {
    public N and();

    public N endTargetRef();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy