public class ResourceQuotaSpecFluentImpl<A extends ResourceQuotaSpecFluent<A>> extends BaseFluent<A> implements ResourceQuotaSpecFluent<A>
_visitables
Constructor and Description |
---|
ResourceQuotaSpecFluentImpl() |
ResourceQuotaSpecFluentImpl(ResourceQuotaSpec instance) |
Modifier and Type | Method and Description |
---|---|
A |
addToHard(Map<String,Quantity> map) |
A |
addToHard(String key,
Quantity value) |
A |
addToScopes(String... items) |
boolean |
equals(Object o) |
Map<String,Quantity> |
getHard() |
List<String> |
getScopes() |
A |
removeFromHard(Map<String,Quantity> map) |
A |
removeFromHard(String key) |
A |
removeFromScopes(String... items) |
A |
withHard(Map<String,Quantity> hard) |
A |
withScopes(List<String> scopes) |
A |
withScopes(String... scopes) |
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 A addToScopes(String... items)
addToScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public A removeFromScopes(String... items)
removeFromScopes
in interface ResourceQuotaSpecFluent<A extends ResourceQuotaSpecFluent<A>>
public List<String> getScopes()
getScopes
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>>
Copyright © 2011–2016 Red Hat. All rights reserved.