Package io.fabric8.kubernetes.api.model
Class ProjectedVolumeSourceFluentImpl<A extends ProjectedVolumeSourceFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ProjectedVolumeSourceFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ProjectedVolumeSourceFluent<A>
- Direct Known Subclasses:
ProjectedVolumeSourceBuilder,VolumeFluentImpl.ProjectedNestedImpl,WatchEventFluentImpl.ProjectedVolumeSourceObjectNestedImpl
public class ProjectedVolumeSourceFluentImpl<A extends ProjectedVolumeSourceFluent<A>> extends BaseFluent<A> implements ProjectedVolumeSourceFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classProjectedVolumeSourceFluentImpl.SourcesNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ProjectedVolumeSourceFluent
ProjectedVolumeSourceFluent.SourcesNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ProjectedVolumeSourceFluentImpl()ProjectedVolumeSourceFluentImpl(ProjectedVolumeSource instance)
-
Method Summary
-
-
-
Constructor Detail
-
ProjectedVolumeSourceFluentImpl
public ProjectedVolumeSourceFluentImpl()
-
ProjectedVolumeSourceFluentImpl
public ProjectedVolumeSourceFluentImpl(ProjectedVolumeSource instance)
-
-
Method Detail
-
getDefaultMode
public Integer getDefaultMode()
- Specified by:
getDefaultModein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withDefaultMode
public A withDefaultMode(Integer defaultMode)
- Specified by:
withDefaultModein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasDefaultMode
public Boolean hasDefaultMode()
- Specified by:
hasDefaultModein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addToSources
public A addToSources(int index, VolumeProjection item)
- Specified by:
addToSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
setToSources
public A setToSources(int index, VolumeProjection item)
- Specified by:
setToSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addToSources
public A addToSources(VolumeProjection... items)
- Specified by:
addToSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addAllToSources
public A addAllToSources(Collection<VolumeProjection> items)
- Specified by:
addAllToSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeFromSources
public A removeFromSources(VolumeProjection... items)
- Specified by:
removeFromSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeAllFromSources
public A removeAllFromSources(Collection<VolumeProjection> items)
- Specified by:
removeAllFromSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeMatchingFromSources
public A removeMatchingFromSources(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
removeMatchingFromSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
getSources
@Deprecated public List<VolumeProjection> getSources()
Deprecated.This method has been deprecated, please use method buildSources instead.- Specified by:
getSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>- Returns:
- The buildable object.
-
buildSources
public List<VolumeProjection> buildSources()
- Specified by:
buildSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildSource
public VolumeProjection buildSource(int index)
- Specified by:
buildSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildFirstSource
public VolumeProjection buildFirstSource()
- Specified by:
buildFirstSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildLastSource
public VolumeProjection buildLastSource()
- Specified by:
buildLastSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildMatchingSource
public VolumeProjection buildMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
buildMatchingSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasMatchingSource
public Boolean hasMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
hasMatchingSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withSources
public A withSources(List<VolumeProjection> sources)
- Specified by:
withSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withSources
public A withSources(VolumeProjection... sources)
- Specified by:
withSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasSources
public Boolean hasSources()
- Specified by:
hasSourcesin interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addNewSource
public ProjectedVolumeSourceFluent.SourcesNested<A> addNewSource()
- Specified by:
addNewSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addNewSourceLike
public ProjectedVolumeSourceFluent.SourcesNested<A> addNewSourceLike(VolumeProjection item)
- Specified by:
addNewSourceLikein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
setNewSourceLike
public ProjectedVolumeSourceFluent.SourcesNested<A> setNewSourceLike(int index, VolumeProjection item)
- Specified by:
setNewSourceLikein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editSource(int index)
- Specified by:
editSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editFirstSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editFirstSource()
- Specified by:
editFirstSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editLastSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editLastSource()
- Specified by:
editLastSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editMatchingSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
editMatchingSourcein interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
-