public class ObjectNamespaces extends AbstractCoreBulkResources<ObjectNamespaceRestRep> implements TopLevelResources<ObjectNamespaceRestRep>
Base URL: /vdc/objectnamespaces
Constructor and Description |
---|
ObjectNamespaces(ViPRCoreClient parent,
RestClient client) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ObjectNamespaceRestRep> |
getAll()
Gets all resources for this resource type.
|
java.util.List<ObjectNamespaceRestRep> |
getAll(ResourceFilter<ObjectNamespaceRestRep> filter)
Gets all resources for this resource type.
|
ObjectNamespaceRestRep |
getObjectNamespace(java.net.URI Id)
gets the details of a particular object namespace
|
ObjectNamespaceList |
getObjectNamespaces()
Gets list of all object storage namespaces
|
java.util.List<NamedRelatedResourceRep> |
list()
Lists named resources (name + ID) for this resource type.
|
getByIds, getByRefs, listBulkIds
addTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTags, withInactive, withInternal
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getByIds, getByRefs
addTags, get, get, getTags, removeTags, search, updateTags
public ObjectNamespaces(ViPRCoreClient parent, RestClient client)
public ObjectNamespaceList getObjectNamespaces()
public ObjectNamespaceRestRep getObjectNamespace(java.net.URI Id)
Id
- details required forpublic java.util.List<NamedRelatedResourceRep> list()
TopLevelResources
Lists named resources (name + ID) for this resource type.
API Call: GET /RESOURCE_PATH
list
in interface TopLevelResources<ObjectNamespaceRestRep>
public java.util.List<ObjectNamespaceRestRep> getAll()
TopLevelResources
Gets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources.
API Call: GET /RESOURCE_PATH
getAll
in interface TopLevelResources<ObjectNamespaceRestRep>
TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection)
public java.util.List<ObjectNamespaceRestRep> getAll(ResourceFilter<ObjectNamespaceRestRep> filter)
TopLevelResources
Gets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources. This optionally filters the results by the filter specified.
API Call: GET /RESOURCE_PATH
getAll
in interface TopLevelResources<ObjectNamespaceRestRep>
filter
- the resource filter to apply to the results as they are returned (optional).TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection, ResourceFilter)