io.alauda.kubernetes.api.model.ObjectMetaFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import javax.validation.constraints.Pattern;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface ObjectMetaFluent> extends Fluent{
public A addToAnnotations(String key,String value);
public A addToAnnotations(Map map);
public A removeFromAnnotations(String key);
public A removeFromAnnotations(Map map);
public Map getAnnotations();
public A withAnnotations(Map annotations);
public Boolean hasAnnotations();
public String getClusterName();
public A withClusterName(String clusterName);
public Boolean hasClusterName();
public String getCreationTimestamp();
public A withCreationTimestamp(String creationTimestamp);
public Boolean hasCreationTimestamp();
public Long getDeletionGracePeriodSeconds();
public A withDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds);
public Boolean hasDeletionGracePeriodSeconds();
public String getDeletionTimestamp();
public A withDeletionTimestamp(String deletionTimestamp);
public Boolean hasDeletionTimestamp();
public A addToFinalizers(int index,String item);
public A setToFinalizers(int index,String item);
public A addToFinalizers(String... items);
public A addAllToFinalizers(Collection items);
public A removeFromFinalizers(String... items);
public A removeAllFromFinalizers(Collection items);
public List getFinalizers();
public String getFinalizer(int index);
public String getFirstFinalizer();
public String getLastFinalizer();
public String getMatchingFinalizer(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withFinalizers(List finalizers);
public A withFinalizers(String... finalizers);
public Boolean hasFinalizers();
public String getGenerateName();
public A withGenerateName(String generateName);
public Boolean hasGenerateName();
public Long getGeneration();
public A withGeneration(Long generation);
public Boolean hasGeneration();
/**
* This method has been deprecated, please use method buildInitializers instead.
*/
@Deprecated public Initializers getInitializers();
public Initializers buildInitializers();
public A withInitializers(Initializers initializers);
public Boolean hasInitializers();
public ObjectMetaFluent.InitializersNested withNewInitializers();
public ObjectMetaFluent.InitializersNested withNewInitializersLike(Initializers item);
public ObjectMetaFluent.InitializersNested editInitializers();
public ObjectMetaFluent.InitializersNested editOrNewInitializers();
public ObjectMetaFluent.InitializersNested editOrNewInitializersLike(Initializers item);
public A addToLabels(String key,String value);
public A addToLabels(Map map);
public A removeFromLabels(String key);
public A removeFromLabels(Map map);
public Map getLabels();
public A withLabels(Map labels);
public Boolean hasLabels();
public String getName();
public A withName(String name);
public Boolean hasName();
public String getNamespace();
public A withNamespace(String namespace);
public Boolean hasNamespace();
public A addToOwnerReferences(int index,OwnerReference item);
public A setToOwnerReferences(int index,OwnerReference item);
public A addToOwnerReferences(OwnerReference... items);
public A addAllToOwnerReferences(Collection items);
public A removeFromOwnerReferences(OwnerReference... items);
public A removeAllFromOwnerReferences(Collection items);
/**
* This method has been deprecated, please use method buildOwnerReferences instead.
*/
@Deprecated public List getOwnerReferences();
public List buildOwnerReferences();
public OwnerReference buildOwnerReference(int index);
public OwnerReference buildFirstOwnerReference();
public OwnerReference buildLastOwnerReference();
public OwnerReference buildMatchingOwnerReference(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withOwnerReferences(List ownerReferences);
public A withOwnerReferences(OwnerReference... ownerReferences);
public Boolean hasOwnerReferences();
public ObjectMetaFluent.OwnerReferencesNested addNewOwnerReference();
public ObjectMetaFluent.OwnerReferencesNested addNewOwnerReferenceLike(OwnerReference item);
public ObjectMetaFluent.OwnerReferencesNested setNewOwnerReferenceLike(int index,OwnerReference item);
public ObjectMetaFluent.OwnerReferencesNested editOwnerReference(int index);
public ObjectMetaFluent.OwnerReferencesNested editFirstOwnerReference();
public ObjectMetaFluent.OwnerReferencesNested editLastOwnerReference();
public ObjectMetaFluent.OwnerReferencesNested editMatchingOwnerReference(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getResourceVersion();
public A withResourceVersion(String resourceVersion);
public Boolean hasResourceVersion();
public String getSelfLink();
public A withSelfLink(String selfLink);
public Boolean hasSelfLink();
public String getUid();
public A withUid(String uid);
public Boolean hasUid();
public interface InitializersNested extends io.alauda.kubernetes.api.builder.Nested,InitializersFluent>{
public N and(); public N endInitializers();
}
public interface OwnerReferencesNested extends io.alauda.kubernetes.api.builder.Nested,OwnerReferenceFluent>{
public N and(); public N endOwnerReference();
}
}