Class AddressPair
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.AddressPair
-
public class AddressPair extends Object
Contains a mapping between a MAC address and an IP address.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddressPair.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
AddressPair(String macAddress, String ipAddress)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressPair.Builder
builder(String macAddress, String ipAddress)
Returns a builder, but requires the user to specify any parameters required when creating a resource.boolean
equals(Object obj)
String
getIpAddress()
String
getMacAddress()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
AddressPair.Builder
toBuilder()
Gets a Builder configured as this object.String
toString()
-
-
-
Constructor Detail
-
AddressPair
@ConstructorProperties({"mac_address","ip_address"}) protected AddressPair(String macAddress, String ipAddress)
-
-
Method Detail
-
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
-
toBuilder
public AddressPair.Builder toBuilder()
Gets a Builder configured as this object.
-
-