Class IpAddress
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.network.subnet.IpAddress
@ApiType("SoftLayer_Container_Network_Subnet_IpAddress") public class IpAddress extends Entity
SoftLayer_Container_Subnet_IPAddress models an IP v4 address as it exists as a member of it's subnet, letting the user know if it is a network identifier, gateway, broadcast, or useable address. Addresses that are neither the network identifier nor the gateway nor the broadcast addresses are usable by SoftLayer servers.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IpAddress.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Hardware
hardware
The hardware that an IP address is associated with.protected boolean
hardwareSpecified
protected String
ipAddress
An IP address expressed in dotted-quad notation.protected boolean
ipAddressSpecified
protected Boolean
isBroadcastAddress
Whether an IP address is its subnet's broadcast address.protected boolean
isBroadcastAddressSpecified
protected Boolean
isGatewayAddress
Whether an IP address is its subnet's gateway address.protected boolean
isGatewayAddressSpecified
protected Boolean
isNetworkAddress
Whether an IP address is its subnet's network identifier address.protected boolean
isNetworkAddressSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description IpAddress()
-
Method Summary
Modifier and Type Method Description Hardware
getHardware()
String
getIpAddress()
Boolean
getIsBroadcastAddress()
Boolean
getIsGatewayAddress()
Boolean
getIsNetworkAddress()
boolean
isHardwareSpecified()
boolean
isIpAddressSpecified()
boolean
isIsBroadcastAddressSpecified()
boolean
isIsGatewayAddressSpecified()
boolean
isIsNetworkAddressSpecified()
void
setHardware(Hardware hardware)
void
setIpAddress(String ipAddress)
void
setIsBroadcastAddress(Boolean isBroadcastAddress)
void
setIsGatewayAddress(Boolean isGatewayAddress)
void
setIsNetworkAddress(Boolean isNetworkAddress)
void
unsetHardware()
void
unsetIpAddress()
void
unsetIsBroadcastAddress()
void
unsetIsGatewayAddress()
void
unsetIsNetworkAddress()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
hardware
The hardware that an IP address is associated with. -
hardwareSpecified
protected boolean hardwareSpecified -
ipAddress
An IP address expressed in dotted-quad notation. -
ipAddressSpecified
protected boolean ipAddressSpecified -
isBroadcastAddress
Whether an IP address is its subnet's broadcast address. -
isBroadcastAddressSpecified
protected boolean isBroadcastAddressSpecified -
isGatewayAddress
Whether an IP address is its subnet's gateway address. Gateway addresses exist on SoftLayer's routers and many not be assigned to servers. -
isGatewayAddressSpecified
protected boolean isGatewayAddressSpecified -
isNetworkAddress
Whether an IP address is its subnet's network identifier address. -
isNetworkAddressSpecified
protected boolean isNetworkAddressSpecified
-
-
Constructor Details
-
IpAddress
public IpAddress()
-
-
Method Details
-
getHardware
-
setHardware
-
isHardwareSpecified
public boolean isHardwareSpecified() -
unsetHardware
public void unsetHardware() -
getIpAddress
-
setIpAddress
-
isIpAddressSpecified
public boolean isIpAddressSpecified() -
unsetIpAddress
public void unsetIpAddress() -
getIsBroadcastAddress
-
setIsBroadcastAddress
-
isIsBroadcastAddressSpecified
public boolean isIsBroadcastAddressSpecified() -
unsetIsBroadcastAddress
public void unsetIsBroadcastAddress() -
getIsGatewayAddress
-
setIsGatewayAddress
-
isIsGatewayAddressSpecified
public boolean isIsGatewayAddressSpecified() -
unsetIsGatewayAddress
public void unsetIsGatewayAddress() -
getIsNetworkAddress
-
setIsNetworkAddress
-
isIsNetworkAddressSpecified
public boolean isIsNetworkAddressSpecified() -
unsetIsNetworkAddress
public void unsetIsNetworkAddress()
-