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

io.kubernetes.client.openapi.models.V1HTTPGetActionFluent 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.custom.IntOrString;
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 V1HTTPGetActionFluent> extends Fluent {
  public String getHost();

  public A withHost(java.lang.String host);

  public Boolean hasHost();

  public A addToHttpHeaders(Integer index, V1HTTPHeader item);

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

  public A addToHttpHeaders(io.kubernetes.client.openapi.models.V1HTTPHeader... items);

  public A addAllToHttpHeaders(Collection items);

  public A removeFromHttpHeaders(io.kubernetes.client.openapi.models.V1HTTPHeader... items);

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

  public A removeMatchingFromHttpHeaders(Predicate predicate);

  /**
   * This method has been deprecated, please use method buildHttpHeaders instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public List getHttpHeaders();

  public java.util.List buildHttpHeaders();

  public io.kubernetes.client.openapi.models.V1HTTPHeader buildHttpHeader(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1HTTPHeader buildFirstHttpHeader();

  public io.kubernetes.client.openapi.models.V1HTTPHeader buildLastHttpHeader();

  public io.kubernetes.client.openapi.models.V1HTTPHeader buildMatchingHttpHeader(
      java.util.function.Predicate
          predicate);

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

  public A withHttpHeaders(
      java.util.List httpHeaders);

  public A withHttpHeaders(io.kubernetes.client.openapi.models.V1HTTPHeader... httpHeaders);

  public java.lang.Boolean hasHttpHeaders();

  public V1HTTPGetActionFluent.HttpHeadersNested addNewHttpHeader();

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      addNewHttpHeaderLike(io.kubernetes.client.openapi.models.V1HTTPHeader item);

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      setNewHttpHeaderLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1HTTPHeader item);

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      editHttpHeader(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      editFirstHttpHeader();

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      editLastHttpHeader();

  public io.kubernetes.client.openapi.models.V1HTTPGetActionFluent.HttpHeadersNested
      editMatchingHttpHeader(
          java.util.function.Predicate
              predicate);

  public java.lang.String getPath();

  public A withPath(java.lang.String path);

  public java.lang.Boolean hasPath();

  public IntOrString getPort();

  public A withPort(io.kubernetes.client.custom.IntOrString port);

  public java.lang.Boolean hasPort();

  public A withNewPort(int value);

  public A withNewPort(java.lang.String value);

  public java.lang.String getScheme();

  public A withScheme(java.lang.String scheme);

  public java.lang.Boolean hasScheme();

  public interface HttpHeadersNested
      extends Nested, V1HTTPHeaderFluent> {
    public N and();

    public N endHttpHeader();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy