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
  • Field Details

    • 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.
  • Constructor Details

    • Subnet

      public Subnet()
  • Method Details

    • getIpAddresses

      public List<IpAddress> getIpAddresses()
    • 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)