public class PodFluentImpl<A extends PodFluent<A>> extends BaseFluent<A> implements PodFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodFluentImpl.MetadataNestedImpl<N> |
class |
PodFluentImpl.SpecNestedImpl<N> |
class |
PodFluentImpl.StatusNestedImpl<N> |
PodFluent.MetadataNested<N>, PodFluent.SpecNested<N>, PodFluent.StatusNested<N>
_visitables
Constructor and Description |
---|
PodFluentImpl() |
PodFluentImpl(Pod instance) |
public PodFluentImpl()
public PodFluentImpl(Pod instance)
public String getApiVersion()
getApiVersion
in interface PodFluent<A extends PodFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface PodFluent<A extends PodFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface PodFluent<A extends PodFluent<A>>
public String getKind()
public Boolean hasKind()
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface PodFluent<A extends PodFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface PodFluent<A extends PodFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface PodFluent<A extends PodFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.MetadataNested<A> editMetadata()
editMetadata
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface PodFluent<A extends PodFluent<A>>
@Deprecated public PodSpec getSpec()
public PodSpec buildSpec()
public Boolean hasSpec()
public PodFluent.SpecNested<A> withNewSpec()
withNewSpec
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.SpecNested<A> withNewSpecLike(PodSpec item)
withNewSpecLike
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.SpecNested<A> editSpec()
public PodFluent.SpecNested<A> editOrNewSpec()
editOrNewSpec
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.SpecNested<A> editOrNewSpecLike(PodSpec item)
editOrNewSpecLike
in interface PodFluent<A extends PodFluent<A>>
@Deprecated public PodStatus getStatus()
public PodStatus buildStatus()
buildStatus
in interface PodFluent<A extends PodFluent<A>>
public A withStatus(PodStatus status)
withStatus
in interface PodFluent<A extends PodFluent<A>>
public Boolean hasStatus()
public PodFluent.StatusNested<A> withNewStatus()
withNewStatus
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.StatusNested<A> withNewStatusLike(PodStatus item)
withNewStatusLike
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.StatusNested<A> editStatus()
editStatus
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.StatusNested<A> editOrNewStatus()
editOrNewStatus
in interface PodFluent<A extends PodFluent<A>>
public PodFluent.StatusNested<A> editOrNewStatusLike(PodStatus item)
editOrNewStatusLike
in interface PodFluent<A extends PodFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.