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
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
ipAddresses
@ApiProperty protected List<IpAddress> ipAddresses
All ip addresses associated with a subnet.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The account id a customer subnet belongs to.
-
accountIdSpecified
protected boolean accountIdSpecified
-
cidr
@ApiProperty(canBeNullOrNotSet=true) protected Long 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
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A customer subnet's unique identifier.
-
idSpecified
protected boolean idSpecified
-
netmask
@ApiProperty(canBeNullOrNotSet=true) protected String 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
@ApiProperty(canBeNullOrNotSet=true) protected String networkIdentifier
A subnet's network identifier. This is the first IP address of a subnet.
-
networkIdentifierSpecified
protected boolean networkIdentifierSpecified
-
totalIpAddresses
@ApiProperty(canBeNullOrNotSet=true) protected Long totalIpAddresses
The total number of ip addresses in a subnet.
-
totalIpAddressesSpecified
protected boolean totalIpAddressesSpecified
-
ipAddressCount
@ApiProperty protected Long ipAddressCount
A count of all ip addresses associated with a subnet.
-
-
Method Detail
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCidr
public Long getCidr()
-
setCidr
public void setCidr(Long cidr)
-
isCidrSpecified
public boolean isCidrSpecified()
-
unsetCidr
public void unsetCidr()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getNetmask
public String getNetmask()
-
setNetmask
public void setNetmask(String netmask)
-
isNetmaskSpecified
public boolean isNetmaskSpecified()
-
unsetNetmask
public void unsetNetmask()
-
getNetworkIdentifier
public String getNetworkIdentifier()
-
setNetworkIdentifier
public void setNetworkIdentifier(String networkIdentifier)
-
isNetworkIdentifierSpecified
public boolean isNetworkIdentifierSpecified()
-
unsetNetworkIdentifier
public void unsetNetworkIdentifier()
-
getTotalIpAddresses
public Long getTotalIpAddresses()
-
setTotalIpAddresses
public void setTotalIpAddresses(Long totalIpAddresses)
-
isTotalIpAddressesSpecified
public boolean isTotalIpAddressesSpecified()
-
unsetTotalIpAddresses
public void unsetTotalIpAddresses()
-
getIpAddressCount
public Long getIpAddressCount()
-
setIpAddressCount
public void setIpAddressCount(Long ipAddressCount)
-
asService
public Subnet.Service asService(ApiClient client)
-
service
public static Subnet.Service service(ApiClient client)
-
service
public static Subnet.Service service(ApiClient client, Long id)
-
-