java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<Endpoint>
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:
  • Constructor Details

  • Method Details

    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class com.google.common.collect.ForwardingObject
    • delegate

      protected Set<Endpoint> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingSet<Endpoint>