public class PolicyRuleFluentImpl<A extends PolicyRuleFluent<A>> extends BaseFluent<A> implements PolicyRuleFluent<A>
_visitables
Constructor and Description |
---|
PolicyRuleFluentImpl() |
PolicyRuleFluentImpl(PolicyRule instance) |
public PolicyRuleFluentImpl()
public PolicyRuleFluentImpl(PolicyRule instance)
public A addToApiGroups(String... items)
addToApiGroups
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A removeFromApiGroups(String... items)
removeFromApiGroups
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public List<String> getApiGroups()
getApiGroups
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withApiGroups(List<String> apiGroups)
withApiGroups
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withApiGroups(String... apiGroups)
withApiGroups
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public HasMetadata getAttributeRestrictions()
getAttributeRestrictions
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withAttributeRestrictions(HasMetadata attributeRestrictions)
withAttributeRestrictions
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A addToNonResourceURLs(String... items)
addToNonResourceURLs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A removeFromNonResourceURLs(String... items)
removeFromNonResourceURLs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public List<String> getNonResourceURLs()
getNonResourceURLs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withNonResourceURLs(List<String> nonResourceURLs)
withNonResourceURLs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withNonResourceURLs(String... nonResourceURLs)
withNonResourceURLs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A addToResourceNames(String... items)
addToResourceNames
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A removeFromResourceNames(String... items)
removeFromResourceNames
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public List<String> getResourceNames()
getResourceNames
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withResourceNames(List<String> resourceNames)
withResourceNames
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withResourceNames(String... resourceNames)
withResourceNames
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A addToResources(String... items)
addToResources
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A removeFromResources(String... items)
removeFromResources
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public List<String> getResources()
getResources
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withResources(List<String> resources)
withResources
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withResources(String... resources)
withResources
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A addToVerbs(String... items)
addToVerbs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A removeFromVerbs(String... items)
removeFromVerbs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public List<String> getVerbs()
getVerbs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withVerbs(List<String> verbs)
withVerbs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
public A withVerbs(String... verbs)
withVerbs
in interface PolicyRuleFluent<A extends PolicyRuleFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.