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 class
ProjectedVolumeSourceFluentImpl.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:
getDefaultMode
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withDefaultMode
public A withDefaultMode(Integer defaultMode)
- Specified by:
withDefaultMode
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasDefaultMode
public Boolean hasDefaultMode()
- Specified by:
hasDefaultMode
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addToSources
public A addToSources(int index, VolumeProjection item)
- Specified by:
addToSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
setToSources
public A setToSources(int index, VolumeProjection item)
- Specified by:
setToSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addToSources
public A addToSources(VolumeProjection... items)
- Specified by:
addToSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addAllToSources
public A addAllToSources(Collection<VolumeProjection> items)
- Specified by:
addAllToSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeFromSources
public A removeFromSources(VolumeProjection... items)
- Specified by:
removeFromSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeAllFromSources
public A removeAllFromSources(Collection<VolumeProjection> items)
- Specified by:
removeAllFromSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
removeMatchingFromSources
public A removeMatchingFromSources(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
removeMatchingFromSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
getSources
@Deprecated public List<VolumeProjection> getSources()
Deprecated.This method has been deprecated, please use method buildSources instead.- Specified by:
getSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
- Returns:
- The buildable object.
-
buildSources
public List<VolumeProjection> buildSources()
- Specified by:
buildSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildSource
public VolumeProjection buildSource(int index)
- Specified by:
buildSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildFirstSource
public VolumeProjection buildFirstSource()
- Specified by:
buildFirstSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildLastSource
public VolumeProjection buildLastSource()
- Specified by:
buildLastSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
buildMatchingSource
public VolumeProjection buildMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
buildMatchingSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasMatchingSource
public Boolean hasMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
hasMatchingSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withSources
public A withSources(List<VolumeProjection> sources)
- Specified by:
withSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
withSources
public A withSources(VolumeProjection... sources)
- Specified by:
withSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
hasSources
public Boolean hasSources()
- Specified by:
hasSources
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addNewSource
public ProjectedVolumeSourceFluent.SourcesNested<A> addNewSource()
- Specified by:
addNewSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
addNewSourceLike
public ProjectedVolumeSourceFluent.SourcesNested<A> addNewSourceLike(VolumeProjection item)
- Specified by:
addNewSourceLike
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
setNewSourceLike
public ProjectedVolumeSourceFluent.SourcesNested<A> setNewSourceLike(int index, VolumeProjection item)
- Specified by:
setNewSourceLike
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editSource(int index)
- Specified by:
editSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editFirstSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editFirstSource()
- Specified by:
editFirstSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editLastSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editLastSource()
- Specified by:
editLastSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
editMatchingSource
public ProjectedVolumeSourceFluent.SourcesNested<A> editMatchingSource(Predicate<VolumeProjectionBuilder> predicate)
- Specified by:
editMatchingSource
in interfaceProjectedVolumeSourceFluent<A extends ProjectedVolumeSourceFluent<A>>
-
-