public class V1ResourceRuleFluentImpl<A extends V1ResourceRuleFluent<A>> extends BaseFluent<A> implements V1ResourceRuleFluent<A>
_visitables
Constructor and Description |
---|
V1ResourceRuleFluentImpl() |
V1ResourceRuleFluentImpl(V1ResourceRule instance) |
public V1ResourceRuleFluentImpl()
public V1ResourceRuleFluentImpl(V1ResourceRule instance)
public A addToApiGroups(int index, String item)
addToApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A setToApiGroups(int index, String item)
setToApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToApiGroups(String... items)
addToApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addAllToApiGroups(Collection<String> items)
addAllToApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeFromApiGroups(String... items)
removeFromApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeAllFromApiGroups(Collection<String> items)
removeAllFromApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public List<String> getApiGroups()
getApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getApiGroup(int index)
getApiGroup
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getFirstApiGroup()
getFirstApiGroup
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getLastApiGroup()
getLastApiGroup
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getMatchingApiGroup(Predicate<String> predicate)
getMatchingApiGroup
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withApiGroups(List<String> apiGroups)
withApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withApiGroups(String... apiGroups)
withApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public Boolean hasApiGroups()
hasApiGroups
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToResourceNames(int index, String item)
addToResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A setToResourceNames(int index, String item)
setToResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToResourceNames(String... items)
addToResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addAllToResourceNames(Collection<String> items)
addAllToResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeFromResourceNames(String... items)
removeFromResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeAllFromResourceNames(Collection<String> items)
removeAllFromResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public List<String> getResourceNames()
getResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getResourceName(int index)
getResourceName
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getFirstResourceName()
getFirstResourceName
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getLastResourceName()
getLastResourceName
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getMatchingResourceName(Predicate<String> predicate)
getMatchingResourceName
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withResourceNames(List<String> resourceNames)
withResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withResourceNames(String... resourceNames)
withResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public Boolean hasResourceNames()
hasResourceNames
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToResources(int index, String item)
addToResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A setToResources(int index, String item)
setToResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToResources(String... items)
addToResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addAllToResources(Collection<String> items)
addAllToResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeFromResources(String... items)
removeFromResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeAllFromResources(Collection<String> items)
removeAllFromResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public List<String> getResources()
getResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getResource(int index)
getResource
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getFirstResource()
getFirstResource
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getLastResource()
getLastResource
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getMatchingResource(Predicate<String> predicate)
getMatchingResource
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withResources(List<String> resources)
withResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withResources(String... resources)
withResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public Boolean hasResources()
hasResources
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToVerbs(int index, String item)
addToVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A setToVerbs(int index, String item)
setToVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addToVerbs(String... items)
addToVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A addAllToVerbs(Collection<String> items)
addAllToVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeFromVerbs(String... items)
removeFromVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A removeAllFromVerbs(Collection<String> items)
removeAllFromVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public List<String> getVerbs()
getVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getVerb(int index)
getVerb
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getFirstVerb()
getFirstVerb
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getLastVerb()
getLastVerb
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public String getMatchingVerb(Predicate<String> predicate)
getMatchingVerb
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withVerbs(List<String> verbs)
withVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public A withVerbs(String... verbs)
withVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
public Boolean hasVerbs()
hasVerbs
in interface V1ResourceRuleFluent<A extends V1ResourceRuleFluent<A>>
Copyright © 2019. All rights reserved.