public class KubernetesPolicyRuleFluentImpl<A extends KubernetesPolicyRuleFluent<A>> extends BaseFluent<A> implements KubernetesPolicyRuleFluent<A>
_visitables
Constructor and Description |
---|
KubernetesPolicyRuleFluentImpl() |
KubernetesPolicyRuleFluentImpl(KubernetesPolicyRule instance) |
public KubernetesPolicyRuleFluentImpl()
public KubernetesPolicyRuleFluentImpl(KubernetesPolicyRule instance)
public A addToApiGroups(int index, String item)
addToApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A setToApiGroups(int index, String item)
setToApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToApiGroups(String... items)
addToApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addAllToApiGroups(Collection<String> items)
addAllToApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeFromApiGroups(String... items)
removeFromApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeAllFromApiGroups(Collection<String> items)
removeAllFromApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public List<String> getApiGroups()
getApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getApiGroup(int index)
getApiGroup
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getFirstApiGroup()
getFirstApiGroup
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getLastApiGroup()
getLastApiGroup
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getMatchingApiGroup(Predicate<String> predicate)
getMatchingApiGroup
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withApiGroups(List<String> apiGroups)
withApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withApiGroups(String... apiGroups)
withApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public Boolean hasApiGroups()
hasApiGroups
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToNonResourceURLs(int index, String item)
addToNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A setToNonResourceURLs(int index, String item)
setToNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToNonResourceURLs(String... items)
addToNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addAllToNonResourceURLs(Collection<String> items)
addAllToNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeFromNonResourceURLs(String... items)
removeFromNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeAllFromNonResourceURLs(Collection<String> items)
removeAllFromNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public List<String> getNonResourceURLs()
getNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getNonResourceURL(int index)
getNonResourceURL
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getFirstNonResourceURL()
getFirstNonResourceURL
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getLastNonResourceURL()
getLastNonResourceURL
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getMatchingNonResourceURL(Predicate<String> predicate)
getMatchingNonResourceURL
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withNonResourceURLs(List<String> nonResourceURLs)
withNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withNonResourceURLs(String... nonResourceURLs)
withNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public Boolean hasNonResourceURLs()
hasNonResourceURLs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToResourceNames(int index, String item)
addToResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A setToResourceNames(int index, String item)
setToResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToResourceNames(String... items)
addToResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addAllToResourceNames(Collection<String> items)
addAllToResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeFromResourceNames(String... items)
removeFromResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeAllFromResourceNames(Collection<String> items)
removeAllFromResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public List<String> getResourceNames()
getResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getResourceName(int index)
getResourceName
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getFirstResourceName()
getFirstResourceName
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getLastResourceName()
getLastResourceName
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getMatchingResourceName(Predicate<String> predicate)
getMatchingResourceName
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withResourceNames(List<String> resourceNames)
withResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withResourceNames(String... resourceNames)
withResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public Boolean hasResourceNames()
hasResourceNames
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToResources(int index, String item)
addToResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A setToResources(int index, String item)
setToResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToResources(String... items)
addToResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addAllToResources(Collection<String> items)
addAllToResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeFromResources(String... items)
removeFromResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeAllFromResources(Collection<String> items)
removeAllFromResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public List<String> getResources()
getResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getResource(int index)
getResource
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getFirstResource()
getFirstResource
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getLastResource()
getLastResource
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getMatchingResource(Predicate<String> predicate)
getMatchingResource
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withResources(List<String> resources)
withResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withResources(String... resources)
withResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public Boolean hasResources()
hasResources
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToVerbs(int index, String item)
addToVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A setToVerbs(int index, String item)
setToVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addToVerbs(String... items)
addToVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A addAllToVerbs(Collection<String> items)
addAllToVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeFromVerbs(String... items)
removeFromVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A removeAllFromVerbs(Collection<String> items)
removeAllFromVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public List<String> getVerbs()
getVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getVerb(int index)
getVerb
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getFirstVerb()
getFirstVerb
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getLastVerb()
getLastVerb
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public String getMatchingVerb(Predicate<String> predicate)
getMatchingVerb
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withVerbs(List<String> verbs)
withVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public A withVerbs(String... verbs)
withVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
public Boolean hasVerbs()
hasVerbs
in interface KubernetesPolicyRuleFluent<A extends KubernetesPolicyRuleFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.