Class Subnet
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.customer.Subnet
@ApiType("SoftLayer_Network_Customer_Subnet") public class Subnet extends Entity
The SoftLayer_Network_Customer_Subnet data type contains general information relating to a single customer subnet (remote).
- See Also:
- SoftLayer_Network_Customer_Subnet
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Subnet.Mask
static interface
Subnet.Service
Every Customer subnet is defined in the SoftLayer_Network_Customer_Subnet service.static interface
Subnet.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
accountId
The account id a customer subnet belongs to.protected boolean
accountIdSpecified
protected Long
cidr
A subnet's Classless Inter-Domain Routing prefix.protected boolean
cidrSpecified
protected Long
id
A customer subnet's unique identifier.protected boolean
idSpecified
protected Long
ipAddressCount
A count of all ip addresses associated with a subnet.protected List<IpAddress>
ipAddresses
All ip addresses associated with a subnet.protected String
netmask
A bitmask in dotted-quad format that is used to separate a subnet's network address from it's host addresses.protected boolean
netmaskSpecified
protected String
networkIdentifier
A subnet's network identifier.protected boolean
networkIdentifierSpecified
protected Long
totalIpAddresses
The total number of ip addresses in a subnet.protected boolean
totalIpAddressesSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Subnet()
-
Method Summary
Modifier and Type Method Description Subnet.Service
asService(ApiClient client)
Long
getAccountId()
Long
getCidr()
Long
getId()
Long
getIpAddressCount()
List<IpAddress>
getIpAddresses()
String
getNetmask()
String
getNetworkIdentifier()
Long
getTotalIpAddresses()
boolean
isAccountIdSpecified()
boolean
isCidrSpecified()
boolean
isIdSpecified()
boolean
isNetmaskSpecified()
boolean
isNetworkIdentifierSpecified()
boolean
isTotalIpAddressesSpecified()
static Subnet.Service
service(ApiClient client)
static Subnet.Service
service(ApiClient client, Long id)
void
setAccountId(Long accountId)
void
setCidr(Long cidr)
void
setId(Long id)
void
setIpAddressCount(Long ipAddressCount)
void
setNetmask(String netmask)
void
setNetworkIdentifier(String networkIdentifier)
void
setTotalIpAddresses(Long totalIpAddresses)
void
unsetAccountId()
void
unsetCidr()
void
unsetId()
void
unsetNetmask()
void
unsetNetworkIdentifier()
void
unsetTotalIpAddresses()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
ipAddresses
All ip addresses associated with a subnet. -
accountId
The account id a customer subnet belongs to. -
accountIdSpecified
protected boolean accountIdSpecified -
cidr
A subnet's Classless Inter-Domain Routing prefix. This is a number between 0 and 32 signifying the number of bits in a subnet's netmask. These bits separate a subnet's network address from it's host addresses. It performs the same function as the ''netmask'' property, but is represented as an integer. -
cidrSpecified
protected boolean cidrSpecified -
id
A customer subnet's unique identifier. -
idSpecified
protected boolean idSpecified -
netmask
A bitmask in dotted-quad format that is used to separate a subnet's network address from it's host addresses. This performs the same function as the ''cidr'' property, but is expressed in a string format. -
netmaskSpecified
protected boolean netmaskSpecified -
networkIdentifier
A subnet's network identifier. This is the first IP address of a subnet. -
networkIdentifierSpecified
protected boolean networkIdentifierSpecified -
totalIpAddresses
The total number of ip addresses in a subnet. -
totalIpAddressesSpecified
protected boolean totalIpAddressesSpecified -
ipAddressCount
A count of all ip addresses associated with a subnet.
-
-
Constructor Details
-
Subnet
public Subnet()
-
-
Method Details
-
getIpAddresses
-
getAccountId
-
setAccountId
-
isAccountIdSpecified
public boolean isAccountIdSpecified() -
unsetAccountId
public void unsetAccountId() -
getCidr
-
setCidr
-
isCidrSpecified
public boolean isCidrSpecified() -
unsetCidr
public void unsetCidr() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getNetmask
-
setNetmask
-
isNetmaskSpecified
public boolean isNetmaskSpecified() -
unsetNetmask
public void unsetNetmask() -
getNetworkIdentifier
-
setNetworkIdentifier
-
isNetworkIdentifierSpecified
public boolean isNetworkIdentifierSpecified() -
unsetNetworkIdentifier
public void unsetNetworkIdentifier() -
getTotalIpAddresses
-
setTotalIpAddresses
-
isTotalIpAddressesSpecified
public boolean isTotalIpAddressesSpecified() -
unsetTotalIpAddresses
public void unsetTotalIpAddresses() -
getIpAddressCount
-
setIpAddressCount
-
asService
-
service
-
service
-