Class IdAndName


  • public final class IdAndName
    extends Object
    • Method Detail

      • getId

        public String getId()
        The id of the resource. ex AAAAAAAAAAAAAAAA
      • getName

        public String getName()
        The name of the resource. ex jclouds
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • nameEqualTo

        public static com.google.common.base.Predicate<IdAndName> nameEqualTo​(String name)
        convenience predicate as typically the user is unaware of the system generated id of a resource
        Parameters:
        name - see getName()