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

io.kubernetes.client.openapi.models.V1TokenRequestSpecFluent 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.function.Predicate;

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

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

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

  public A addAllToAudiences(Collection items);

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

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

  public List getAudiences();

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

  public java.lang.String getFirstAudience();

  public java.lang.String getLastAudience();

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

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

  public A withAudiences(java.util.List audiences);

  public A withAudiences(java.lang.String... audiences);

  public java.lang.Boolean hasAudiences();

  /**
   * This method has been deprecated, please use method buildBoundObjectRef instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1BoundObjectReference getBoundObjectRef();

  public io.kubernetes.client.openapi.models.V1BoundObjectReference buildBoundObjectRef();

  public A withBoundObjectRef(
      io.kubernetes.client.openapi.models.V1BoundObjectReference boundObjectRef);

  public java.lang.Boolean hasBoundObjectRef();

  public V1TokenRequestSpecFluent.BoundObjectRefNested withNewBoundObjectRef();

  public io.kubernetes.client.openapi.models.V1TokenRequestSpecFluent.BoundObjectRefNested
      withNewBoundObjectRefLike(io.kubernetes.client.openapi.models.V1BoundObjectReference item);

  public io.kubernetes.client.openapi.models.V1TokenRequestSpecFluent.BoundObjectRefNested
      editBoundObjectRef();

  public io.kubernetes.client.openapi.models.V1TokenRequestSpecFluent.BoundObjectRefNested
      editOrNewBoundObjectRef();

  public io.kubernetes.client.openapi.models.V1TokenRequestSpecFluent.BoundObjectRefNested
      editOrNewBoundObjectRefLike(io.kubernetes.client.openapi.models.V1BoundObjectReference item);

  public Long getExpirationSeconds();

  public A withExpirationSeconds(java.lang.Long expirationSeconds);

  public java.lang.Boolean hasExpirationSeconds();

  public interface BoundObjectRefNested
      extends Nested,
          V1BoundObjectReferenceFluent> {
    public N and();

    public N endBoundObjectRef();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy