io.alauda.kubernetes.api.model.ServiceAccountFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.validators.CheckObjectMeta;
import java.lang.String;
import javax.validation.constraints.NotNull;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface ServiceAccountFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public Boolean isAutomountServiceAccountToken();
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken);
public Boolean hasAutomountServiceAccountToken();
public A addToImagePullSecrets(int index,LocalObjectReference item);
public A setToImagePullSecrets(int index,LocalObjectReference item);
public A addToImagePullSecrets(LocalObjectReference... items);
public A addAllToImagePullSecrets(Collection items);
public A removeFromImagePullSecrets(LocalObjectReference... items);
public A removeAllFromImagePullSecrets(Collection items);
/**
* This method has been deprecated, please use method buildImagePullSecrets instead.
*/
@Deprecated public List getImagePullSecrets();
public List buildImagePullSecrets();
public LocalObjectReference buildImagePullSecret(int index);
public LocalObjectReference buildFirstImagePullSecret();
public LocalObjectReference buildLastImagePullSecret();
public LocalObjectReference buildMatchingImagePullSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withImagePullSecrets(List imagePullSecrets);
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets);
public Boolean hasImagePullSecrets();
public ServiceAccountFluent.ImagePullSecretsNested addNewImagePullSecret();
public ServiceAccountFluent.ImagePullSecretsNested addNewImagePullSecretLike(LocalObjectReference item);
public ServiceAccountFluent.ImagePullSecretsNested setNewImagePullSecretLike(int index,LocalObjectReference item);
public ServiceAccountFluent.ImagePullSecretsNested editImagePullSecret(int index);
public ServiceAccountFluent.ImagePullSecretsNested editFirstImagePullSecret();
public ServiceAccountFluent.ImagePullSecretsNested editLastImagePullSecret();
public ServiceAccountFluent.ImagePullSecretsNested editMatchingImagePullSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewImagePullSecret(String name);
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
/**
* This method has been deprecated, please use method buildMetadata instead.
*/
@Deprecated public ObjectMeta getMetadata();
public ObjectMeta buildMetadata();
public A withMetadata(ObjectMeta metadata);
public Boolean hasMetadata();
public ServiceAccountFluent.MetadataNested withNewMetadata();
public ServiceAccountFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ServiceAccountFluent.MetadataNested editMetadata();
public ServiceAccountFluent.MetadataNested editOrNewMetadata();
public ServiceAccountFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToSecrets(int index,ObjectReference item);
public A setToSecrets(int index,ObjectReference item);
public A addToSecrets(ObjectReference... items);
public A addAllToSecrets(Collection items);
public A removeFromSecrets(ObjectReference... items);
public A removeAllFromSecrets(Collection items);
/**
* This method has been deprecated, please use method buildSecrets instead.
*/
@Deprecated public List getSecrets();
public List buildSecrets();
public ObjectReference buildSecret(int index);
public ObjectReference buildFirstSecret();
public ObjectReference buildLastSecret();
public ObjectReference buildMatchingSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withSecrets(List secrets);
public A withSecrets(ObjectReference... secrets);
public Boolean hasSecrets();
public ServiceAccountFluent.SecretsNested addNewSecret();
public ServiceAccountFluent.SecretsNested addNewSecretLike(ObjectReference item);
public ServiceAccountFluent.SecretsNested setNewSecretLike(int index,ObjectReference item);
public ServiceAccountFluent.SecretsNested editSecret(int index);
public ServiceAccountFluent.SecretsNested editFirstSecret();
public ServiceAccountFluent.SecretsNested editLastSecret();
public ServiceAccountFluent.SecretsNested editMatchingSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface ImagePullSecretsNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endImagePullSecret();
}
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface SecretsNested extends io.alauda.kubernetes.api.builder.Nested,ObjectReferenceFluent>{
public N and(); public N endSecret();
}
}