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
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1ServiceAccountFluent> extends Fluent{
  public String getApiVersion();
  public A withApiVersion(String apiVersion);
  public Boolean hasApiVersion();
  public Boolean getAutomountServiceAccountToken();
  public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken);
  public Boolean hasAutomountServiceAccountToken();
  public A addToImagePullSecrets(int index,V1LocalObjectReference item);
  public A setToImagePullSecrets(int index,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(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 List buildImagePullSecrets();
  public V1LocalObjectReference buildImagePullSecret(int index);
  public V1LocalObjectReference buildFirstImagePullSecret();
  public V1LocalObjectReference buildLastImagePullSecret();
  public V1LocalObjectReference buildMatchingImagePullSecret(Predicate predicate);
  public Boolean hasMatchingImagePullSecret(Predicate predicate);
  public A withImagePullSecrets(List imagePullSecrets);
  public A withImagePullSecrets(io.kubernetes.client.openapi.models.V1LocalObjectReference... imagePullSecrets);
  public Boolean hasImagePullSecrets();
  public V1ServiceAccountFluent.ImagePullSecretsNested addNewImagePullSecret();
  public V1ServiceAccountFluent.ImagePullSecretsNested addNewImagePullSecretLike(V1LocalObjectReference item);
  public V1ServiceAccountFluent.ImagePullSecretsNested setNewImagePullSecretLike(int index,V1LocalObjectReference item);
  public V1ServiceAccountFluent.ImagePullSecretsNested editImagePullSecret(int index);
  public V1ServiceAccountFluent.ImagePullSecretsNested editFirstImagePullSecret();
  public V1ServiceAccountFluent.ImagePullSecretsNested editLastImagePullSecret();
  public V1ServiceAccountFluent.ImagePullSecretsNested editMatchingImagePullSecret(Predicate predicate);
  public String getKind();
  public A withKind(String kind);
  public Boolean hasKind();
  
  /**
   * This method has been deprecated, please use method buildMetadata instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1ObjectMeta getMetadata();
  public V1ObjectMeta buildMetadata();
  public A withMetadata(V1ObjectMeta metadata);
  public Boolean hasMetadata();
  public V1ServiceAccountFluent.MetadataNested withNewMetadata();
  public V1ServiceAccountFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
  public V1ServiceAccountFluent.MetadataNested editMetadata();
  public V1ServiceAccountFluent.MetadataNested editOrNewMetadata();
  public V1ServiceAccountFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
  public A addToSecrets(int index,V1ObjectReference item);
  public A setToSecrets(int index,V1ObjectReference item);
  public A addToSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... items);
  public A addAllToSecrets(Collection items);
  public A removeFromSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... items);
  public A removeAllFromSecrets(Collection items);
  public A removeMatchingFromSecrets(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildSecrets instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getSecrets();
  public List buildSecrets();
  public V1ObjectReference buildSecret(int index);
  public V1ObjectReference buildFirstSecret();
  public V1ObjectReference buildLastSecret();
  public V1ObjectReference buildMatchingSecret(Predicate predicate);
  public Boolean hasMatchingSecret(Predicate predicate);
  public A withSecrets(List secrets);
  public A withSecrets(io.kubernetes.client.openapi.models.V1ObjectReference... secrets);
  public Boolean hasSecrets();
  public V1ServiceAccountFluent.SecretsNested addNewSecret();
  public V1ServiceAccountFluent.SecretsNested addNewSecretLike(V1ObjectReference item);
  public V1ServiceAccountFluent.SecretsNested setNewSecretLike(int index,V1ObjectReference item);
  public V1ServiceAccountFluent.SecretsNested editSecret(int index);
  public V1ServiceAccountFluent.SecretsNested editFirstSecret();
  public V1ServiceAccountFluent.SecretsNested editLastSecret();
  public V1ServiceAccountFluent.SecretsNested editMatchingSecret(Predicate predicate);
  public A withAutomountServiceAccountToken();
  public interface ImagePullSecretsNested extends Nested,V1LocalObjectReferenceFluent>{
    public N and();
    public N endImagePullSecret();
    
  }
  public interface MetadataNested extends Nested,V1ObjectMetaFluent>{
    public N and();
    public N endMetadata();
    
  }
  public interface SecretsNested extends Nested,V1ObjectReferenceFluent>{
    public N and();
    public N endSecret();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy