Class IdAndName

java.lang.Object
org.jclouds.ultradns.ws.domain.IdAndName

public final class IdAndName extends Object
  • Method Details

    • create

      public static IdAndName create(String id, String name)
    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString 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()