Package io.fabric8.kubernetes.api.model
Class PodTemplateFluentImpl<A extends PodTemplateFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PodTemplateFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,PodTemplateFluent<A>
- Direct Known Subclasses:
BaseKubernetesListFluentImpl.PodTemplateItemsNestedImpl,NamedExtensionFluentImpl.PodTemplateExtensionNestedImpl,PodTemplateBuilder,PodTemplateListFluentImpl.ItemsNestedImpl,WatchEventFluentImpl.PodTemplateObjectNestedImpl
public class PodTemplateFluentImpl<A extends PodTemplateFluent<A>> extends BaseFluent<A> implements PodTemplateFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPodTemplateFluentImpl.MetadataNestedImpl<N>classPodTemplateFluentImpl.TemplateNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.PodTemplateFluent
PodTemplateFluent.MetadataNested<N>, PodTemplateFluent.TemplateNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description PodTemplateFluentImpl()PodTemplateFluentImpl(PodTemplate instance)
-
Method Summary
-
-
-
Constructor Detail
-
PodTemplateFluentImpl
public PodTemplateFluentImpl()
-
PodTemplateFluentImpl
public PodTemplateFluentImpl(PodTemplate instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
getMetadata
@Deprecated public ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withMetadata
public A withMetadata(ObjectMeta metadata)
- Specified by:
withMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewMetadata
public PodTemplateFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewMetadataLike
public PodTemplateFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
- Specified by:
withNewMetadataLikein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editMetadata
public PodTemplateFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editOrNewMetadata
public PodTemplateFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editOrNewMetadataLike
public PodTemplateFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
getTemplate
@Deprecated public PodTemplateSpec getTemplate()
Deprecated.This method has been deprecated, please use method buildTemplate instead.- Specified by:
getTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>- Returns:
- The buildable object.
-
buildTemplate
public PodTemplateSpec buildTemplate()
- Specified by:
buildTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withTemplate
public A withTemplate(PodTemplateSpec template)
- Specified by:
withTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
hasTemplate
public Boolean hasTemplate()
- Specified by:
hasTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewTemplate
public PodTemplateFluent.TemplateNested<A> withNewTemplate()
- Specified by:
withNewTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
withNewTemplateLike
public PodTemplateFluent.TemplateNested<A> withNewTemplateLike(PodTemplateSpec item)
- Specified by:
withNewTemplateLikein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editTemplate
public PodTemplateFluent.TemplateNested<A> editTemplate()
- Specified by:
editTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editOrNewTemplate
public PodTemplateFluent.TemplateNested<A> editOrNewTemplate()
- Specified by:
editOrNewTemplatein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
editOrNewTemplateLike
public PodTemplateFluent.TemplateNested<A> editOrNewTemplateLike(PodTemplateSpec item)
- Specified by:
editOrNewTemplateLikein interfacePodTemplateFluent<A extends PodTemplateFluent<A>>
-
-