public class ResourceQuotaSpecFluentImpl<A extends ResourceQuotaSpecFluent<A>> extends BaseFluent<A> implements ResourceQuotaSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ResourceQuotaSpecFluentImpl.ScopeSelectorNestedImpl<N> |
ResourceQuotaSpecFluent.ScopeSelectorNested<N>
_visitables
Constructor and Description |
---|
ResourceQuotaSpecFluentImpl() |
ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance) |
public ResourceQuotaSpecFluentImpl()
public ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance)
public A addToHard(String key, Quantity value)
addToHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToHard(Map<String,Quantity> map)
addToHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromHard(String key)
removeFromHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromHard(Map<String,Quantity> map)
removeFromHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Map<String,Quantity> getHard()
getHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withHard(Map<String,Quantity> hard)
withHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Boolean hasHard()
hasHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
@Deprecated public ScopeSelector getScopeSelector()
getScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ScopeSelector buildScopeSelector()
buildScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withScopeSelector(ScopeSelector scopeSelector)
withScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Boolean hasScopeSelector()
hasScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> withNewScopeSelector()
withNewScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> withNewScopeSelectorLike(ScopeSelector item)
withNewScopeSelectorLike
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editScopeSelector()
editScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editOrNewScopeSelector()
editOrNewScopeSelector
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public ResourceQuotaSpecFluent.ScopeSelectorNested<A> editOrNewScopeSelectorLike(ScopeSelector item)
editOrNewScopeSelectorLike
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToScopes(int index, String item)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A setToScopes(int index, String item)
setToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToScopes(String... items)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addAllToScopes(Collection<String> items)
addAllToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromScopes(String... items)
removeFromScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeAllFromScopes(Collection<String> items)
removeAllFromScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public List<String> getScopes()
getScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public String getScope(int index)
getScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public String getFirstScope()
getFirstScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public String getLastScope()
getLastScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public String getMatchingScope(Predicate<String> predicate)
getMatchingScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Boolean hasMatchingScope(Predicate<String> predicate)
hasMatchingScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withScopes(List<String> scopes)
withScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withScopes(String... scopes)
withScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Boolean hasScopes()
hasScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(String arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(StringBuilder arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(StringBuffer arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.