Interface ProjectBuilder
-
- All Superinterfaces:
Buildable.Builder<ProjectBuilder,Project>
- All Known Implementing Classes:
KeystoneProject.ProjectConcreteBuilder
public interface ProjectBuilder extends Buildable.Builder<ProjectBuilder,Project>
A Builder which creates a identity v3 project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectBuilder
description(String description)
ProjectBuilder
domain(Domain domain)
Accepts an existing domain and uses its idProjectBuilder
domainId(String domainId)
ProjectBuilder
enabled(boolean enabled)
ProjectBuilder
id(String id)
ProjectBuilder
links(Map<String,String> links)
ProjectBuilder
name(String name)
ProjectBuilder
options(Map<String,String> options)
ProjectBuilder
parentId(String parentId)
ProjectBuilder
parents(String parents)
ProjectBuilder
setExtra(String name, String value)
ProjectBuilder
setTags(List<String> tags)
ProjectBuilder
subtree(String subtree)
-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
id
ProjectBuilder id(String id)
- See Also:
Project.getId()
-
domainId
ProjectBuilder domainId(String domainId)
- See Also:
Project.getDomainId()
-
domain
ProjectBuilder domain(Domain domain)
Accepts an existing domain and uses its id- See Also:
Project.getDomainId()
-
description
ProjectBuilder description(String description)
- See Also:
Project.getDescription()
-
enabled
ProjectBuilder enabled(boolean enabled)
- See Also:
Project.isEnabled()
-
name
ProjectBuilder name(String name)
- See Also:
Project.getName()
-
options
ProjectBuilder options(Map<String,String> options)
-
links
ProjectBuilder links(Map<String,String> links)
- See Also:
Project.getLinks()
-
parentId
ProjectBuilder parentId(String parentId)
- See Also:
Project.getParentId()
-
subtree
ProjectBuilder subtree(String subtree)
- See Also:
Project.getSubtree()
-
parents
ProjectBuilder parents(String parents)
- See Also:
Project.getParents()
-
setExtra
ProjectBuilder setExtra(String name, String value)
- See Also:
Project.getExtra(String)
-
setTags
ProjectBuilder setTags(List<String> tags)
- See Also:
Project.getTags()
-
-