Class ApiMetadata.Builder<T extends ApiMetadata.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
-
- org.jclouds.openstack.keystone.v2_0.domain.ApiMetadata.Builder<T>
-
- Enclosing class:
- ApiMetadata
public abstract static class ApiMetadata.Builder<T extends ApiMetadata.Builder<T>> extends Resource.Builder<T>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiMetadata
build()
T
fromApiMetadata(ApiMetadata in)
T
mediaTypes(Set<MediaType> mediaTypes)
T
mediaTypes(MediaType... in)
T
status(String status)
T
updated(Date updated)
-
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
fromResource, id, links, links, name, self
-
-
-
-
Method Detail
-
status
public T status(String status)
- See Also:
ApiMetadata.getStatus()
-
updated
public T updated(Date updated)
- See Also:
ApiMetadata.getUpdated()
-
mediaTypes
public T mediaTypes(Set<MediaType> mediaTypes)
- See Also:
ApiMetadata.getMediaTypes()
-
build
public ApiMetadata build()
- Overrides:
build
in classResource.Builder<T extends ApiMetadata.Builder<T>>
-
fromApiMetadata
public T fromApiMetadata(ApiMetadata in)
-
-