Package io.fabric8.openshift.api.model
Class ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.ServiceAccountRestrictionFluent<A>
-
- Direct Known Subclasses:
RoleBindingRestrictionSpecFluent.ServiceaccountrestrictionNested,ServiceAccountRestrictionBuilder
public class ServiceAccountRestrictionFluent<A extends ServiceAccountRestrictionFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classServiceAccountRestrictionFluent.ServiceaccountsNested<N>
-
Constructor Summary
Constructors Constructor Description ServiceAccountRestrictionFluent()ServiceAccountRestrictionFluent(ServiceAccountRestriction instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceAccountRestrictionFluent
public ServiceAccountRestrictionFluent()
-
ServiceAccountRestrictionFluent
public ServiceAccountRestrictionFluent(ServiceAccountRestriction instance)
-
-
Method Detail
-
addAllToNamespaces
public A addAllToNamespaces(Collection<String> items)
-
addAllToServiceaccounts
public A addAllToServiceaccounts(Collection<ServiceAccountReference> items)
-
addNewServiceaccount
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> addNewServiceaccount()
-
addNewServiceaccountLike
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> addNewServiceaccountLike(ServiceAccountReference item)
-
addToServiceaccounts
public A addToServiceaccounts(ServiceAccountReference... items)
-
addToServiceaccounts
public A addToServiceaccounts(int index, ServiceAccountReference item)
-
buildFirstServiceaccount
public ServiceAccountReference buildFirstServiceaccount()
-
buildLastServiceaccount
public ServiceAccountReference buildLastServiceaccount()
-
buildMatchingServiceaccount
public ServiceAccountReference buildMatchingServiceaccount(Predicate<ServiceAccountReferenceBuilder> predicate)
-
buildServiceaccount
public ServiceAccountReference buildServiceaccount(int index)
-
buildServiceaccounts
public List<ServiceAccountReference> buildServiceaccounts()
-
copyInstance
protected void copyInstance(ServiceAccountRestriction instance)
-
editFirstServiceaccount
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editFirstServiceaccount()
-
editLastServiceaccount
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editLastServiceaccount()
-
editMatchingServiceaccount
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editMatchingServiceaccount(Predicate<ServiceAccountReferenceBuilder> predicate)
-
editServiceaccount
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> editServiceaccount(int index)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServiceAccountRestrictionFluent<A>>
-
getFirstNamespace
public String getFirstNamespace()
-
getLastNamespace
public String getLastNamespace()
-
getNamespace
public String getNamespace(int index)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
hasMatchingServiceaccount
public boolean hasMatchingServiceaccount(Predicate<ServiceAccountReferenceBuilder> predicate)
-
hasNamespaces
public boolean hasNamespaces()
-
hasServiceaccounts
public boolean hasServiceaccounts()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServiceAccountRestrictionFluent<A>>
-
removeAllFromNamespaces
public A removeAllFromNamespaces(Collection<String> items)
-
removeAllFromServiceaccounts
public A removeAllFromServiceaccounts(Collection<ServiceAccountReference> items)
-
removeFromServiceaccounts
public A removeFromServiceaccounts(ServiceAccountReference... items)
-
removeMatchingFromServiceaccounts
public A removeMatchingFromServiceaccounts(Predicate<ServiceAccountReferenceBuilder> predicate)
-
setNewServiceaccountLike
public ServiceAccountRestrictionFluent.ServiceaccountsNested<A> setNewServiceaccountLike(int index, ServiceAccountReference item)
-
setToServiceaccounts
public A setToServiceaccounts(int index, ServiceAccountReference item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
withServiceaccounts
public A withServiceaccounts(List<ServiceAccountReference> serviceaccounts)
-
withServiceaccounts
public A withServiceaccounts(ServiceAccountReference... serviceaccounts)
-
-