io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
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 io.alauda.kubernetes.api.model.ObjectMetaFluent;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.model.ObjectMeta;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.ObjectMetaBuilder;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface ThirdPartyResourceFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public String getDescription();
public A withDescription(String description);
public Boolean hasDescription();
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 ThirdPartyResourceFluent.MetadataNested withNewMetadata();
public ThirdPartyResourceFluent.MetadataNested withNewMetadataLike(ObjectMeta item);
public ThirdPartyResourceFluent.MetadataNested editMetadata();
public ThirdPartyResourceFluent.MetadataNested editOrNewMetadata();
public ThirdPartyResourceFluent.MetadataNested editOrNewMetadataLike(ObjectMeta item);
public A addToVersions(int index,APIVersion item);
public A setToVersions(int index,APIVersion item);
public A addToVersions(APIVersion... items);
public A addAllToVersions(Collection items);
public A removeFromVersions(APIVersion... items);
public A removeAllFromVersions(Collection items);
/**
* This method has been deprecated, please use method buildVersions instead.
*/
@Deprecated public List getVersions();
public List buildVersions();
public APIVersion buildVersion(int index);
public APIVersion buildFirstVersion();
public APIVersion buildLastVersion();
public APIVersion buildMatchingVersion(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withVersions(List versions);
public A withVersions(APIVersion... versions);
public Boolean hasVersions();
public ThirdPartyResourceFluent.VersionsNested addNewVersion();
public ThirdPartyResourceFluent.VersionsNested addNewVersionLike(APIVersion item);
public ThirdPartyResourceFluent.VersionsNested setNewVersionLike(int index,APIVersion item);
public ThirdPartyResourceFluent.VersionsNested editVersion(int index);
public ThirdPartyResourceFluent.VersionsNested editFirstVersion();
public ThirdPartyResourceFluent.VersionsNested editLastVersion();
public ThirdPartyResourceFluent.VersionsNested editMatchingVersion(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewVersion(String name);
public interface MetadataNested extends io.alauda.kubernetes.api.builder.Nested,ObjectMetaFluent>{
public N and(); public N endMetadata();
}
public interface VersionsNested extends io.alauda.kubernetes.api.builder.Nested,APIVersionFluent>{
public N and(); public N endVersion();
}
}