public class ServiceAccountRestrictionFluentImpl<A extends ServiceAccountRestrictionFluent<A>> extends BaseFluent<A> implements ServiceAccountRestrictionFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ServiceAccountRestrictionFluentImpl.ServiceaccountsNestedImpl<N> |
ServiceAccountRestrictionFluent.ServiceaccountsNested<N>
_visitables
Constructor and Description |
---|
ServiceAccountRestrictionFluentImpl() |
ServiceAccountRestrictionFluentImpl(ServiceAccountRestriction instance) |
public ServiceAccountRestrictionFluentImpl()
public ServiceAccountRestrictionFluentImpl(ServiceAccountRestriction instance)
public A addToNamespaces(int index, String item)
addToNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A setToNamespaces(int index, String item)
setToNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addToNamespaces(String... items)
addToNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addAllToNamespaces(Collection<String> items)
addAllToNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A removeFromNamespaces(String... items)
removeFromNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A removeAllFromNamespaces(Collection<String> items)
removeAllFromNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public List<String> getNamespaces()
getNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public String getNamespace(int index)
getNamespace
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public String getFirstNamespace()
getFirstNamespace
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public String getLastNamespace()
getLastNamespace
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public String getMatchingNamespace(Predicate<String> predicate)
getMatchingNamespace
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A withNamespaces(List<String> namespaces)
withNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A withNamespaces(String... namespaces)
withNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public Boolean hasNamespaces()
hasNamespaces
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addToServiceaccounts(int index, ServiceAccountReference item)
addToServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A setToServiceaccounts(int index, ServiceAccountReference item)
setToServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addToServiceaccounts(ServiceAccountReference... items)
addToServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addAllToServiceaccounts(Collection<ServiceAccountReference> items)
addAllToServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A removeFromServiceaccounts(ServiceAccountReference... items)
removeFromServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A removeAllFromServiceaccounts(Collection<ServiceAccountReference> items)
removeAllFromServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
@Deprecated public List<ServiceAccountReference> getServiceaccounts()
getServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public List<ServiceAccountReference> buildServiceaccounts()
buildServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountReference buildServiceaccount(int index)
buildServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountReference buildFirstServiceaccount()
buildFirstServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountReference buildLastServiceaccount()
buildLastServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountReference buildMatchingServiceaccount(Predicate<ServiceAccountReferenceBuilder> predicate)
buildMatchingServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A withServiceaccounts(List<ServiceAccountReference> serviceaccounts)
withServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A withServiceaccounts(ServiceAccountReference... serviceaccounts)
withServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public Boolean hasServiceaccounts()
hasServiceaccounts
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> addNewServiceaccount()
addNewServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> addNewServiceaccountLike(ServiceAccountReference item)
addNewServiceaccountLike
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> setNewServiceaccountLike(int index, ServiceAccountReference item)
setNewServiceaccountLike
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editServiceaccount(int index)
editServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editFirstServiceaccount()
editFirstServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editLastServiceaccount()
editLastServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editMatchingServiceaccount(Predicate<ServiceAccountReferenceBuilder> predicate)
editMatchingServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
public A addNewServiceaccount(String name, String namespace)
addNewServiceaccount
in interface ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.