org.jclouds.openstack.keystone.v2_0.domain
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
- All Implemented Interfaces:
- Iterable<Endpoint>, Collection<Endpoint>, Set<Endpoint>
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.
- See Also:
| 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 interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Service
@ConstructorProperties(value={"id","type","name","description","endpoints"})
protected Service(@Nullable
String id,
String type,
String name,
@Nullable
String description,
@Nullable
Set<Endpoint> endpoints)
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 as
compute (Nova), object-store (Swift), or image (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()
- Specified by:
hashCode in interface Collection<Endpoint>- Specified by:
hashCode in interface Set<Endpoint>- Overrides:
hashCode in class com.google.common.collect.ForwardingSet<Endpoint>
equals
public boolean equals(Object obj)
- Specified by:
equals in interface Collection<Endpoint>- Specified by:
equals in interface Set<Endpoint>- Overrides:
equals in class com.google.common.collect.ForwardingSet<Endpoint>
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class com.google.common.collect.ForwardingObject
delegate
protected Set<Endpoint> delegate()
- Overrides:
delegate in class com.google.common.collect.ForwardingSet<Endpoint>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.