Class Service
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingSet<Endpoint>
-
- org.jclouds.openstack.keystone.v2_0.domain.Service
-
public class Service extends com.google.common.collect.ForwardingSet<Endpoint>
An OpenStack service, such as Compute (Nova), Object Storage (Swift), or Image Service (Glance). A service provides one or more endpoints through which users can access resources and perform (presumably useful) operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Service.Builder<T extends Service.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Service.Builder<?>
builder()
protected Set<Endpoint>
delegate()
boolean
equals(Object obj)
String
getDescription()
String
getId()
When providing an ID, it is assumed that the service exists in the current OpenStack deploymentString
getName()
String
getType()
such ascompute
(Nova),object-store
(Swift), orimage
(Glance)int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Service.Builder<?>
toBuilder()
String
toString()
-
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
builder
public static Service.Builder<?> builder()
-
toBuilder
public Service.Builder<?> toBuilder()
-
getId
@Nullable public String getId()
When providing an ID, it is assumed that the service exists in the current OpenStack deployment- Returns:
- the id of the service in the current OpenStack deployment
-
getType
public String getType()
such ascompute
(Nova),object-store
(Swift), orimage
(Glance)- Returns:
- the type of the service in the current OpenStack deployment
-
getName
public String getName()
- Returns:
- the name of the service
-
getDescription
public String getDescription()
- Returns:
- the description of the service
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
toString
public String toString()
- Overrides:
toString
in classcom.google.common.collect.ForwardingObject
-
-