public static class KeystoneUser.UserConcreteBuilder extends Object implements UserBuilder
Modifier and Type | Method and Description |
---|---|
User |
build()
Creates and return the Model Entity M
|
UserBuilder |
defaultProjectId(String defaultProjectId) |
UserBuilder |
description(String description) |
UserBuilder |
domain(Domain domain)
Accepts an existing domain and uses its id
|
UserBuilder |
domainId(String domainId) |
UserBuilder |
email(String email) |
UserBuilder |
enabled(boolean enabled) |
UserBuilder |
from(User in)
Creates a Builder using the param M as the default values
|
UserBuilder |
id(String id) |
UserBuilder |
links(Map<String,String> links) |
UserBuilder |
name(String name) |
UserBuilder |
password(String password) |
public UserBuilder id(String id)
id
in interface UserBuilder
KeystoneUser.getId()
public User build()
Buildable.Builder
build
in interface Buildable.Builder<UserBuilder,User>
public UserBuilder from(User in)
from
in interface Buildable.Builder<UserBuilder,User>
public UserBuilder name(String name)
name
in interface UserBuilder
KeystoneUser.getName()
public UserBuilder defaultProjectId(String defaultProjectId)
defaultProjectId
in interface UserBuilder
KeystoneUser.getDefaultProjectId()
public UserBuilder domainId(String domainId)
domainId
in interface UserBuilder
KeystoneUser.getDomainId()
public UserBuilder domain(Domain domain)
UserBuilder
domain
in interface UserBuilder
KeystoneUser.getDomain()
public UserBuilder email(String email)
email
in interface UserBuilder
KeystoneUser.getEmail()
public UserBuilder password(String password)
password
in interface UserBuilder
KeystoneUser.getPassword()
public UserBuilder links(Map<String,String> links)
links
in interface UserBuilder
KeystoneUser.getLinks()
public UserBuilder enabled(boolean enabled)
enabled
in interface UserBuilder
KeystoneUser.isEnabled()
public UserBuilder description(String description)
description
in interface UserBuilder
KeystoneUser.getDescription()
Copyright © 2017. All rights reserved.