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) |
Modifier and Type | Method and Description |
---|---|
A |
addAllToScopes(java.util.Collection<java.lang.String> items) |
A |
addNewScope(java.lang.String arg1) |
A |
addNewScope(java.lang.StringBuffer arg1) |
A |
addNewScope(java.lang.StringBuilder arg1) |
A |
addToHard(java.util.Map<java.lang.String,Quantity> map) |
A |
addToHard(java.lang.String key,
Quantity value) |
A |
addToScopes(int index,
java.lang.String item) |
A |
addToScopes(java.lang.String... items) |
ScopeSelector |
buildScopeSelector() |
ResourceQuotaSpecFluent.ScopeSelectorNested<A> |
editOrNewScopeSelector() |
ResourceQuotaSpecFluent.ScopeSelectorNested<A> |
editOrNewScopeSelectorLike(ScopeSelector item) |
ResourceQuotaSpecFluent.ScopeSelectorNested<A> |
editScopeSelector() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFirstScope() |
java.util.Map<java.lang.String,Quantity> |
getHard() |
java.lang.String |
getLastScope() |
java.lang.String |
getMatchingScope(Predicate<java.lang.String> predicate) |
java.lang.String |
getScope(int index) |
java.util.List<java.lang.String> |
getScopes() |
ScopeSelector |
getScopeSelector()
Deprecated.
|
java.lang.Boolean |
hasHard() |
java.lang.Boolean |
hasMatchingScope(Predicate<java.lang.String> predicate) |
java.lang.Boolean |
hasScopes() |
java.lang.Boolean |
hasScopeSelector() |
A |
removeAllFromScopes(java.util.Collection<java.lang.String> items) |
A |
removeFromHard(java.util.Map<java.lang.String,Quantity> map) |
A |
removeFromHard(java.lang.String key) |
A |
removeFromScopes(java.lang.String... items) |
A |
setToScopes(int index,
java.lang.String item) |
A |
withHard(java.util.Map<java.lang.String,Quantity> hard) |
ResourceQuotaSpecFluent.ScopeSelectorNested<A> |
withNewScopeSelector() |
ResourceQuotaSpecFluent.ScopeSelectorNested<A> |
withNewScopeSelectorLike(ScopeSelector item) |
A |
withScopes(java.util.List<java.lang.String> scopes) |
A |
withScopes(java.lang.String... scopes) |
A |
withScopeSelector(ScopeSelector scopeSelector) |
public ResourceQuotaSpecFluentImpl()
public ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance)
public A addToHard(java.lang.String key, Quantity value)
addToHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToHard(java.util.Map<java.lang.String,Quantity> map)
addToHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromHard(java.lang.String key)
removeFromHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromHard(java.util.Map<java.lang.String,Quantity> map)
removeFromHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.util.Map<java.lang.String,Quantity> getHard()
getHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withHard(java.util.Map<java.lang.String,Quantity> hard)
withHard
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.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 java.lang.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, java.lang.String item)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A setToScopes(int index, java.lang.String item)
setToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addToScopes(java.lang.String... items)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addAllToScopes(java.util.Collection<java.lang.String> items)
addAllToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromScopes(java.lang.String... items)
removeFromScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeAllFromScopes(java.util.Collection<java.lang.String> items)
removeAllFromScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.util.List<java.lang.String> getScopes()
getScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.String getScope(int index)
getScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.String getFirstScope()
getFirstScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.String getLastScope()
getLastScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.String getMatchingScope(Predicate<java.lang.String> predicate)
getMatchingScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.Boolean hasMatchingScope(Predicate<java.lang.String> predicate)
hasMatchingScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withScopes(java.util.List<java.lang.String> scopes)
withScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A withScopes(java.lang.String... scopes)
withScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public java.lang.Boolean hasScopes()
hasScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(java.lang.String arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(java.lang.StringBuilder arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A addNewScope(java.lang.StringBuffer arg1)
addNewScope
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.