public class UserFluentImpl<A extends UserFluent<A>> extends BaseFluent<A> implements UserFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
UserFluentImpl.MetadataNestedImpl<N> |
UserFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
UserFluentImpl() |
UserFluentImpl(User instance) |
public UserFluentImpl()
public UserFluentImpl(User instance)
public String getApiVersion()
getApiVersion
in interface UserFluent<A extends UserFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface UserFluent<A extends UserFluent<A>>
public String getFullName()
getFullName
in interface UserFluent<A extends UserFluent<A>>
public A withFullName(String fullName)
withFullName
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasFullName()
hasFullName
in interface UserFluent<A extends UserFluent<A>>
public A addToGroups(int index, String item)
addToGroups
in interface UserFluent<A extends UserFluent<A>>
public A setToGroups(int index, String item)
setToGroups
in interface UserFluent<A extends UserFluent<A>>
public A addToGroups(String... items)
addToGroups
in interface UserFluent<A extends UserFluent<A>>
public A addAllToGroups(Collection<String> items)
addAllToGroups
in interface UserFluent<A extends UserFluent<A>>
public A removeFromGroups(String... items)
removeFromGroups
in interface UserFluent<A extends UserFluent<A>>
public A removeAllFromGroups(Collection<String> items)
removeAllFromGroups
in interface UserFluent<A extends UserFluent<A>>
public List<String> getGroups()
getGroups
in interface UserFluent<A extends UserFluent<A>>
public String getGroup(int index)
getGroup
in interface UserFluent<A extends UserFluent<A>>
public String getFirstGroup()
getFirstGroup
in interface UserFluent<A extends UserFluent<A>>
public String getLastGroup()
getLastGroup
in interface UserFluent<A extends UserFluent<A>>
public String getMatchingGroup(Predicate<String> predicate)
getMatchingGroup
in interface UserFluent<A extends UserFluent<A>>
public A withGroups(List<String> groups)
withGroups
in interface UserFluent<A extends UserFluent<A>>
public A withGroups(String... groups)
withGroups
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasGroups()
hasGroups
in interface UserFluent<A extends UserFluent<A>>
public A addToIdentities(int index, String item)
addToIdentities
in interface UserFluent<A extends UserFluent<A>>
public A setToIdentities(int index, String item)
setToIdentities
in interface UserFluent<A extends UserFluent<A>>
public A addToIdentities(String... items)
addToIdentities
in interface UserFluent<A extends UserFluent<A>>
public A addAllToIdentities(Collection<String> items)
addAllToIdentities
in interface UserFluent<A extends UserFluent<A>>
public A removeFromIdentities(String... items)
removeFromIdentities
in interface UserFluent<A extends UserFluent<A>>
public A removeAllFromIdentities(Collection<String> items)
removeAllFromIdentities
in interface UserFluent<A extends UserFluent<A>>
public List<String> getIdentities()
getIdentities
in interface UserFluent<A extends UserFluent<A>>
public String getIdentity(int index)
getIdentity
in interface UserFluent<A extends UserFluent<A>>
public String getFirstIdentity()
getFirstIdentity
in interface UserFluent<A extends UserFluent<A>>
public String getLastIdentity()
getLastIdentity
in interface UserFluent<A extends UserFluent<A>>
public String getMatchingIdentity(Predicate<String> predicate)
getMatchingIdentity
in interface UserFluent<A extends UserFluent<A>>
public A withIdentities(List<String> identities)
withIdentities
in interface UserFluent<A extends UserFluent<A>>
public A withIdentities(String... identities)
withIdentities
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasIdentities()
hasIdentities
in interface UserFluent<A extends UserFluent<A>>
public String getKind()
getKind
in interface UserFluent<A extends UserFluent<A>>
public A withKind(String kind)
withKind
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasKind()
hasKind
in interface UserFluent<A extends UserFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface UserFluent<A extends UserFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface UserFluent<A extends UserFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface UserFluent<A extends UserFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface UserFluent<A extends UserFluent<A>>
public UserFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface UserFluent<A extends UserFluent<A>>
public UserFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface UserFluent<A extends UserFluent<A>>
public UserFluent.MetadataNested<A> editMetadata()
editMetadata
in interface UserFluent<A extends UserFluent<A>>
public UserFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface UserFluent<A extends UserFluent<A>>
public UserFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface UserFluent<A extends UserFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.