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, VISIT
Constructor and Description |
---|
ResourceQuotaSpecFluentImpl() |
ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance) |
accept, accept, acceptInternal, aggregate, aggregate, build, build, builderOf, canVisit, hasCompatibleVisitMethod
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 <K,V> 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(Integer index, String item)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A setToScopes(Integer 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(Integer 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 arg0)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public Boolean hasAdditionalProperties()
hasAdditionalProperties
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.