Class AddressPair.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.AddressPair.Builder
-
- Enclosing class:
- AddressPair
public static class AddressPair.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressPair
build()
AddressPair.Builder
fromAddressPair(AddressPair in)
AddressPair.Builder
ipAddress(String ipAddress)
Provide the ipAddress to the AddressPair's Builder.AddressPair.Builder
macAddress(String macAddress)
Provide the macAddress to the AddressPair's Builder.
-
-
-
Method Detail
-
macAddress
public AddressPair.Builder macAddress(String macAddress)
Provide the macAddress to the AddressPair's Builder.- Returns:
- the Builder.
- See Also:
AddressPair.getMacAddress()
-
ipAddress
public AddressPair.Builder ipAddress(String ipAddress)
Provide the ipAddress to the AddressPair's Builder.- Returns:
- the Builder.
- See Also:
AddressPair.getIpAddress()
-
build
public AddressPair build()
- Returns:
- a AddressPair constructed with this Builder.
-
fromAddressPair
public AddressPair.Builder fromAddressPair(AddressPair in)
- Returns:
- a Builder from another AddressPair.
-
-