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

io.kubernetes.client.openapi.models.V1ServiceAccountFluent 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 V1ServiceAccountFluent> extends Fluent {
  public String getApiVersion();

  public A withApiVersion(java.lang.String apiVersion);

  public Boolean hasApiVersion();

  public java.lang.Boolean getAutomountServiceAccountToken();

  public A withAutomountServiceAccountToken(java.lang.Boolean automountServiceAccountToken);

  public java.lang.Boolean hasAutomountServiceAccountToken();

  public A addToImagePullSecrets(Integer index, V1LocalObjectReference item);

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

  public A addToImagePullSecrets(
      io.kubernetes.client.openapi.models.V1LocalObjectReference... items);

  public A addAllToImagePullSecrets(
      Collection items);

  public A removeFromImagePullSecrets(
      io.kubernetes.client.openapi.models.V1LocalObjectReference... items);

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

  public A removeMatchingFromImagePullSecrets(Predicate predicate);

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

  public java.util.List
      buildImagePullSecrets();

  public io.kubernetes.client.openapi.models.V1LocalObjectReference buildImagePullSecret(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1LocalObjectReference buildFirstImagePullSecret();

  public io.kubernetes.client.openapi.models.V1LocalObjectReference buildLastImagePullSecret();

  public io.kubernetes.client.openapi.models.V1LocalObjectReference buildMatchingImagePullSecret(
      java.util.function.Predicate<
              io.kubernetes.client.openapi.models.V1LocalObjectReferenceBuilder>
          predicate);

  public java.lang.Boolean hasMatchingImagePullSecret(
      java.util.function.Predicate<
              io.kubernetes.client.openapi.models.V1LocalObjectReferenceBuilder>
          predicate);

  public A withImagePullSecrets(
      java.util.List imagePullSecrets);

  public A withImagePullSecrets(
      io.kubernetes.client.openapi.models.V1LocalObjectReference... imagePullSecrets);

  public java.lang.Boolean hasImagePullSecrets();

  public V1ServiceAccountFluent.ImagePullSecretsNested addNewImagePullSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      addNewImagePullSecretLike(io.kubernetes.client.openapi.models.V1LocalObjectReference item);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      setNewImagePullSecretLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      editImagePullSecret(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      editFirstImagePullSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      editLastImagePullSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.ImagePullSecretsNested
      editMatchingImagePullSecret(
          java.util.function.Predicate<
                  io.kubernetes.client.openapi.models.V1LocalObjectReferenceBuilder>
              predicate);

  public java.lang.String getKind();

  public A withKind(java.lang.String kind);

  public java.lang.Boolean hasKind();

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

  public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata();

  public A withMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata);

  public java.lang.Boolean hasMetadata();

  public V1ServiceAccountFluent.MetadataNested withNewMetadata();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.MetadataNested
      withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.MetadataNested
      editMetadata();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.MetadataNested
      editOrNewMetadata();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.MetadataNested
      editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);

  public A addToSecrets(java.lang.Integer index, V1ObjectReference item);

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

  public A addToSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... items);

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

  public A removeFromSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... items);

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

  public A removeMatchingFromSecrets(
      java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildSecrets instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getSecrets();

  public java.util.List buildSecrets();

  public io.kubernetes.client.openapi.models.V1ObjectReference buildSecret(java.lang.Integer index);

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

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

  public io.kubernetes.client.openapi.models.V1ObjectReference buildMatchingSecret(
      java.util.function.Predicate
          predicate);

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

  public A withSecrets(
      java.util.List secrets);

  public A withSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... secrets);

  public java.lang.Boolean hasSecrets();

  public V1ServiceAccountFluent.SecretsNested addNewSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested
      addNewSecretLike(io.kubernetes.client.openapi.models.V1ObjectReference item);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested
      setNewSecretLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1ObjectReference item);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested editSecret(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested
      editFirstSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested
      editLastSecret();

  public io.kubernetes.client.openapi.models.V1ServiceAccountFluent.SecretsNested
      editMatchingSecret(
          java.util.function.Predicate
              predicate);

  public A withAutomountServiceAccountToken();

  public interface ImagePullSecretsNested
      extends Nested,
          V1LocalObjectReferenceFluent> {
    public N and();

    public N endImagePullSecret();
  }

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

    public N endMetadata();
  }

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

    public N endSecret();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy