Class AddressPair


  • public class AddressPair
    extends Object
    Contains a mapping between a MAC address and an IP address.
    • Method Detail

      • getMacAddress

        @Nullable
        public String getMacAddress()
        Returns:
        the macAddress of the AddressPair
      • getIpAddress

        @Nullable
        public String getIpAddress()
        Returns:
        the ipAddress of the AddressPair
      • hashCode

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

        protected com.google.common.base.MoreObjects.ToStringHelper string()
      • builder

        public static AddressPair.Builder builder​(String macAddress,
                                                  String ipAddress)
        Returns a builder, but requires the user to specify any parameters required when creating a resource. In this case, both parameters are required.
        Returns:
        the Builder for AddressPair