public class DomainServiceImpl extends BaseOpenStackService implements DomainService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
DomainServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Domain |
create(Domain domain)
Creates a new domain
|
Domain |
create(String name,
String description,
boolean enabled)
Creates a new domain
|
ActionResponse |
delete(String domainId)
Deletes a domain by id
|
Domain |
get(String domainId)
Get detailed information on a domain by id
|
List<? extends Domain> |
getByName(String domainName)
Get detailed information on a domain by name
|
List<? extends Domain> |
list()
lists all domains the current token has access to
|
Domain |
update(Domain domain)
Updates an existing domain
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic Domain create(Domain domain)
DomainServicecreate in interface DomainServicedomain - the Domain to createpublic Domain create(String name, String description, boolean enabled)
DomainServicecreate in interface DomainServicename - the name of the new domaindescription - the description of the new domainenabled - the enabled status of the new domainpublic Domain update(Domain domain)
DomainServiceupdate in interface DomainServicedomain - the domain set to updatepublic Domain get(String domainId)
DomainServiceget in interface DomainServicedomainId - the domain identifierpublic List<? extends Domain> getByName(String domainName)
DomainServicegetByName in interface DomainServicedomainName - the domain namepublic ActionResponse delete(String domainId)
DomainServicedelete in interface DomainServicedomainId - the domain idpublic List<? extends Domain> list()
DomainServicelist in interface DomainServiceCopyright © 2017. All rights reserved.