Package io.fabric8.kubernetes.api.model
Class ResourceQuotaSpecFluentImpl<A extends ResourceQuotaSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ResourceQuotaSpecFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ResourceQuotaSpecFluent<A>
- Direct Known Subclasses:
ResourceQuotaFluentImpl.SpecNestedImpl,ResourceQuotaSpecBuilder,WatchEventFluentImpl.ResourceQuotaSpecObjectNestedImpl
public class ResourceQuotaSpecFluentImpl<A extends ResourceQuotaSpecFluent<A>> extends BaseFluent<A> implements ResourceQuotaSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classResourceQuotaSpecFluentImpl.ScopeSelectorNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ResourceQuotaSpecFluent
ResourceQuotaSpecFluent.ScopeSelectorNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ResourceQuotaSpecFluentImpl()ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ResourceQuotaSpecFluentImpl
public ResourceQuotaSpecFluentImpl()
-
ResourceQuotaSpecFluentImpl
public ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance)
-
-
Method Detail
-
addToHard
public A addToHard(String key, Quantity value)
- Specified by:
addToHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addToHard
public A addToHard(Map<String,Quantity> map)
- Specified by:
addToHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
removeFromHard
public A removeFromHard(String key)
- Specified by:
removeFromHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
removeFromHard
public A removeFromHard(Map<String,Quantity> map)
- Specified by:
removeFromHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getHard
public Map<String,Quantity> getHard()
- Specified by:
getHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withHard
public A withHard(Map<String,Quantity> hard)
- Specified by:
withHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
hasHard
public Boolean hasHard()
- Specified by:
hasHardin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getScopeSelector
@Deprecated public ScopeSelector getScopeSelector()
Deprecated.This method has been deprecated, please use method buildScopeSelector instead.- Specified by:
getScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>- Returns:
- The buildable object.
-
buildScopeSelector
public ScopeSelector buildScopeSelector()
- Specified by:
buildScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withScopeSelector
public A withScopeSelector(ScopeSelector scopeSelector)
- Specified by:
withScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
hasScopeSelector
public Boolean hasScopeSelector()
- Specified by:
hasScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withNewScopeSelector
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> withNewScopeSelector()
- Specified by:
withNewScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withNewScopeSelectorLike
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> withNewScopeSelectorLike(ScopeSelector item)
- Specified by:
withNewScopeSelectorLikein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
editScopeSelector
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editScopeSelector()
- Specified by:
editScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
editOrNewScopeSelector
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editOrNewScopeSelector()
- Specified by:
editOrNewScopeSelectorin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
editOrNewScopeSelectorLike
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editOrNewScopeSelectorLike(ScopeSelector item)
- Specified by:
editOrNewScopeSelectorLikein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addToScopes
public A addToScopes(int index, String item)
- Specified by:
addToScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
setToScopes
public A setToScopes(int index, String item)
- Specified by:
setToScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addToScopes
public A addToScopes(String... items)
- Specified by:
addToScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addAllToScopes
public A addAllToScopes(Collection<String> items)
- Specified by:
addAllToScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
removeFromScopes
public A removeFromScopes(String... items)
- Specified by:
removeFromScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
removeAllFromScopes
public A removeAllFromScopes(Collection<String> items)
- Specified by:
removeAllFromScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getScopes
public List<String> getScopes()
- Specified by:
getScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getScope
public String getScope(int index)
- Specified by:
getScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getFirstScope
public String getFirstScope()
- Specified by:
getFirstScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getLastScope
public String getLastScope()
- Specified by:
getLastScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
getMatchingScope
public String getMatchingScope(Predicate<String> predicate)
- Specified by:
getMatchingScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
hasMatchingScope
public Boolean hasMatchingScope(Predicate<String> predicate)
- Specified by:
hasMatchingScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withScopes
public A withScopes(List<String> scopes)
- Specified by:
withScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
withScopes
public A withScopes(String... scopes)
- Specified by:
withScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
hasScopes
public Boolean hasScopes()
- Specified by:
hasScopesin interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addNewScope
public A addNewScope(String arg1)
- Specified by:
addNewScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addNewScope
public A addNewScope(StringBuilder arg1)
- Specified by:
addNewScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
addNewScope
public A addNewScope(StringBuffer arg1)
- Specified by:
addNewScopein interfaceResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
-
-