com.softlayer.api.service.network.Subnet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.network;
import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Hardware;
import com.softlayer.api.service.billing.Item;
import com.softlayer.api.service.dns.Domain;
import com.softlayer.api.service.dns.domain.Reverse;
import com.softlayer.api.service.location.Datacenter;
import com.softlayer.api.service.network.Component;
import com.softlayer.api.service.network.Vlan;
import com.softlayer.api.service.network.component.Firewall;
import com.softlayer.api.service.network.protection.Address;
import com.softlayer.api.service.network.regional.internet.Registry;
import com.softlayer.api.service.network.storage.allowed.Host;
import com.softlayer.api.service.network.subnet.IpAddress;
import com.softlayer.api.service.network.subnet.Registration;
import com.softlayer.api.service.network.subnet.ipaddress.Global;
import com.softlayer.api.service.network.subnet.swip.Transaction;
import com.softlayer.api.service.network.tunnel.module.Context;
import com.softlayer.api.service.resource.Group;
import com.softlayer.api.service.virtual.Guest;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.Future;
/**
* The SoftLayer_Network_Subnet data type contains general information relating to a single SoftLayer subnet. Personal information in this type such as names, addresses, and phone numbers are assigned to the account only and not to users belonging to the account.
*
* @see SoftLayer_Network_Subnet
*/
@ApiType("SoftLayer_Network_Subnet")
public class Subnet extends Entity {
@ApiProperty
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
/**
* If present, the active registration for this subnet.
*/
@ApiProperty
protected Registration activeRegistration;
public Registration getActiveRegistration() {
return activeRegistration;
}
public void setActiveRegistration(Registration activeRegistration) {
this.activeRegistration = activeRegistration;
}
/**
* All the swip transactions associated with a subnet that are still active.
*/
@ApiProperty
protected Transaction activeSwipTransaction;
public Transaction getActiveSwipTransaction() {
return activeSwipTransaction;
}
public void setActiveSwipTransaction(Transaction activeSwipTransaction) {
this.activeSwipTransaction = activeSwipTransaction;
}
/**
* The billing item for a subnet.
*/
@ApiProperty
protected com.softlayer.api.service.provisioning.version1.Transaction activeTransaction;
public com.softlayer.api.service.provisioning.version1.Transaction getActiveTransaction() {
return activeTransaction;
}
public void setActiveTransaction(com.softlayer.api.service.provisioning.version1.Transaction activeTransaction) {
this.activeTransaction = activeTransaction;
}
/**
* Identifier which distinguishes whether the subnet is public or private address space.
*/
@ApiProperty
protected String addressSpace;
public String getAddressSpace() {
return addressSpace;
}
public void setAddressSpace(String addressSpace) {
this.addressSpace = addressSpace;
}
/**
* The SoftLayer_Network_Storage_Allowed_Host information to connect this Subnet to Network Storage supporting access control lists.
*/
@ApiProperty
protected Host allowedHost;
public Host getAllowedHost() {
return allowedHost;
}
public void setAllowedHost(Host allowedHost) {
this.allowedHost = allowedHost;
}
/**
* The billing item for a subnet.
*/
@ApiProperty
protected Item billingItem;
public Item getBillingItem() {
return billingItem;
}
public void setBillingItem(Item billingItem) {
this.billingItem = billingItem;
}
@ApiProperty
protected List boundDescendants;
public List getBoundDescendants() {
if (boundDescendants == null) {
boundDescendants = new ArrayList();
}
return boundDescendants;
}
/**
* Whether or not this subnet is associated with a router. Subnets that are not associated with a router cannot be routed.
*/
@ApiProperty
protected Boolean boundRouterFlag;
public Boolean getBoundRouterFlag() {
return boundRouterFlag;
}
public void setBoundRouterFlag(Boolean boundRouterFlag) {
this.boundRouterFlag = boundRouterFlag;
}
@ApiProperty
protected List boundRouters;
public List getBoundRouters() {
if (boundRouters == null) {
boundRouters = new ArrayList();
}
return boundRouters;
}
@ApiProperty
protected List children;
public List getChildren() {
if (children == null) {
children = new ArrayList();
}
return children;
}
/**
* The data center this subnet may be routed within.
*/
@ApiProperty
protected Datacenter datacenter;
public Datacenter getDatacenter() {
return datacenter;
}
public void setDatacenter(Datacenter datacenter) {
this.datacenter = datacenter;
}
@ApiProperty
protected List descendants;
public List getDescendants() {
if (descendants == null) {
descendants = new ArrayList();
}
return descendants;
}
@ApiProperty
protected String displayLabel;
public String getDisplayLabel() {
return displayLabel;
}
public void setDisplayLabel(String displayLabel) {
this.displayLabel = displayLabel;
}
/**
* A static routed ip address
*/
@ApiProperty
protected IpAddress endPointIpAddress;
public IpAddress getEndPointIpAddress() {
return endPointIpAddress;
}
public void setEndPointIpAddress(IpAddress endPointIpAddress) {
this.endPointIpAddress = endPointIpAddress;
}
@ApiProperty
protected Global globalIpRecord;
public Global getGlobalIpRecord() {
return globalIpRecord;
}
public void setGlobalIpRecord(Global globalIpRecord) {
this.globalIpRecord = globalIpRecord;
}
/**
* The hardware that this subnet is routed to.
*/
@ApiProperty
protected List hardware;
public List getHardware() {
if (hardware == null) {
hardware = new ArrayList();
}
return hardware;
}
/**
* All the ip addresses associated with a subnet.
*/
@ApiProperty
protected List ipAddresses;
public List getIpAddresses() {
if (ipAddresses == null) {
ipAddresses = new ArrayList();
}
return ipAddresses;
}
/**
* A subnet's associated network component.
*/
@ApiProperty
protected Component networkComponent;
public Component getNetworkComponent() {
return networkComponent;
}
public void setNetworkComponent(Component networkComponent) {
this.networkComponent = networkComponent;
}
/**
* The upstream network component firewall.
*/
@ApiProperty
protected Firewall networkComponentFirewall;
public Firewall getNetworkComponentFirewall() {
return networkComponentFirewall;
}
public void setNetworkComponentFirewall(Firewall networkComponentFirewall) {
this.networkComponentFirewall = networkComponentFirewall;
}
@ApiProperty
protected List networkProtectionAddresses;
public List getNetworkProtectionAddresses() {
if (networkProtectionAddresses == null) {
networkProtectionAddresses = new ArrayList();
}
return networkProtectionAddresses;
}
/**
* IPSec network tunnels that have access to a private subnet.
*/
@ApiProperty
protected List networkTunnelContexts;
public List getNetworkTunnelContexts() {
if (networkTunnelContexts == null) {
networkTunnelContexts = new ArrayList();
}
return networkTunnelContexts;
}
/**
* The VLAN object that a subnet is associated with.
*/
@ApiProperty
protected Vlan networkVlan;
public Vlan getNetworkVlan() {
return networkVlan;
}
public void setNetworkVlan(Vlan networkVlan) {
this.networkVlan = networkVlan;
}
@ApiProperty
protected List protectedIpAddresses;
public List getProtectedIpAddresses() {
if (protectedIpAddresses == null) {
protectedIpAddresses = new ArrayList();
}
return protectedIpAddresses;
}
@ApiProperty
protected Registry regionalInternetRegistry;
public Registry getRegionalInternetRegistry() {
return regionalInternetRegistry;
}
public void setRegionalInternetRegistry(Registry regionalInternetRegistry) {
this.regionalInternetRegistry = regionalInternetRegistry;
}
/**
* All registrations that have been created for this subnet.
*/
@ApiProperty
protected List registrations;
public List getRegistrations() {
if (registrations == null) {
registrations = new ArrayList();
}
return registrations;
}
/**
* The resource groups in which this subnet is a member.
*/
@ApiProperty
protected List resourceGroups;
public List getResourceGroups() {
if (resourceGroups == null) {
resourceGroups = new ArrayList();
}
return resourceGroups;
}
/**
* The reverse DNS domain associated with this subnet.
*/
@ApiProperty
protected Domain reverseDomain;
public Domain getReverseDomain() {
return reverseDomain;
}
public void setReverseDomain(Domain reverseDomain) {
this.reverseDomain = reverseDomain;
}
/**
* An identifier of the role the subnet is within. Roles dictate how a subnet may be used.
*/
@ApiProperty
protected String roleKeyName;
public String getRoleKeyName() {
return roleKeyName;
}
public void setRoleKeyName(String roleKeyName) {
this.roleKeyName = roleKeyName;
}
/**
* The name of the role the subnet is within. Roles dictate how a subnet may be used.
*/
@ApiProperty
protected String roleName;
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
/**
* The identifier for the type of route then subnet is currently configured for.
*/
@ApiProperty
protected String routingTypeKeyName;
public String getRoutingTypeKeyName() {
return routingTypeKeyName;
}
public void setRoutingTypeKeyName(String routingTypeKeyName) {
this.routingTypeKeyName = routingTypeKeyName;
}
/**
* The name for the type of route then subnet is currently configured for.
*/
@ApiProperty
protected String routingTypeName;
public String getRoutingTypeName() {
return routingTypeName;
}
public void setRoutingTypeName(String routingTypeName) {
this.routingTypeName = routingTypeName;
}
/**
* All the swip transactions associated with a subnet.
*/
@ApiProperty
protected List swipTransaction;
public List getSwipTransaction() {
if (swipTransaction == null) {
swipTransaction = new ArrayList();
}
return swipTransaction;
}
@ApiProperty
protected List unboundDescendants;
public List getUnboundDescendants() {
if (unboundDescendants == null) {
unboundDescendants = new ArrayList();
}
return unboundDescendants;
}
/**
* The Virtual Servers that this subnet is routed to.
*/
@ApiProperty
protected List virtualGuests;
public List getVirtualGuests() {
if (virtualGuests == null) {
virtualGuests = new ArrayList();
}
return virtualGuests;
}
/**
* The last IP address in a subnet is the subnet's broadcast address. This is an IP address that will broadcast network requests to the entire subnet and may not be assigned to a network interface.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String broadcastAddress;
public String getBroadcastAddress() {
return broadcastAddress;
}
public void setBroadcastAddress(String broadcastAddress) {
broadcastAddressSpecified = true;
this.broadcastAddress = broadcastAddress;
}
protected boolean broadcastAddressSpecified;
public boolean isBroadcastAddressSpecified() {
return broadcastAddressSpecified;
}
public void unsetBroadcastAddress() {
broadcastAddress = null;
broadcastAddressSpecified = false;
}
/**
* 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.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long cidr;
public Long getCidr() {
return cidr;
}
public void setCidr(Long cidr) {
cidrSpecified = true;
this.cidr = cidr;
}
protected boolean cidrSpecified;
public boolean isCidrSpecified() {
return cidrSpecified;
}
public void unsetCidr() {
cidr = null;
cidrSpecified = false;
}
/**
* A subnet's gateway address. This is an IP address that belongs to the router on the subnet and may not be assigned to a network interface.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String gateway;
public String getGateway() {
return gateway;
}
public void setGateway(String gateway) {
gatewaySpecified = true;
this.gateway = gateway;
}
protected boolean gatewaySpecified;
public boolean isGatewaySpecified() {
return gatewaySpecified;
}
public void unsetGateway() {
gateway = null;
gatewaySpecified = false;
}
/**
* A subnet's internal identifier.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean isCustomerOwned;
public Boolean getIsCustomerOwned() {
return isCustomerOwned;
}
public void setIsCustomerOwned(Boolean isCustomerOwned) {
isCustomerOwnedSpecified = true;
this.isCustomerOwned = isCustomerOwned;
}
protected boolean isCustomerOwnedSpecified;
public boolean isIsCustomerOwnedSpecified() {
return isCustomerOwnedSpecified;
}
public void unsetIsCustomerOwned() {
isCustomerOwned = null;
isCustomerOwnedSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean isCustomerRoutable;
public Boolean getIsCustomerRoutable() {
return isCustomerRoutable;
}
public void setIsCustomerRoutable(Boolean isCustomerRoutable) {
isCustomerRoutableSpecified = true;
this.isCustomerRoutable = isCustomerRoutable;
}
protected boolean isCustomerRoutableSpecified;
public boolean isIsCustomerRoutableSpecified() {
return isCustomerRoutableSpecified;
}
public void unsetIsCustomerRoutable() {
isCustomerRoutable = null;
isCustomerRoutableSpecified = false;
}
/**
* The last time this subnet was last modified
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar modifyDate;
public GregorianCalendar getModifyDate() {
return modifyDate;
}
public void setModifyDate(GregorianCalendar modifyDate) {
modifyDateSpecified = true;
this.modifyDate = modifyDate;
}
protected boolean modifyDateSpecified;
public boolean isModifyDateSpecified() {
return modifyDateSpecified;
}
public void unsetModifyDate() {
modifyDate = null;
modifyDateSpecified = false;
}
/**
* 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.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String netmask;
public String getNetmask() {
return netmask;
}
public void setNetmask(String netmask) {
netmaskSpecified = true;
this.netmask = netmask;
}
protected boolean netmaskSpecified;
public boolean isNetmaskSpecified() {
return netmaskSpecified;
}
public void unsetNetmask() {
netmask = null;
netmaskSpecified = false;
}
/**
* A subnet's network identifier. This is the first IP address of a subnet and may not be assigned to a network interface.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String networkIdentifier;
public String getNetworkIdentifier() {
return networkIdentifier;
}
public void setNetworkIdentifier(String networkIdentifier) {
networkIdentifierSpecified = true;
this.networkIdentifier = networkIdentifier;
}
protected boolean networkIdentifierSpecified;
public boolean isNetworkIdentifierSpecified() {
return networkIdentifierSpecified;
}
public void unsetNetworkIdentifier() {
networkIdentifier = null;
networkIdentifierSpecified = false;
}
/**
* A subnet's associated VLAN's internal identifier.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long networkVlanId;
public Long getNetworkVlanId() {
return networkVlanId;
}
public void setNetworkVlanId(Long networkVlanId) {
networkVlanIdSpecified = true;
this.networkVlanId = networkVlanId;
}
protected boolean networkVlanIdSpecified;
public boolean isNetworkVlanIdSpecified() {
return networkVlanIdSpecified;
}
public void unsetNetworkVlanId() {
networkVlanId = null;
networkVlanIdSpecified = false;
}
/**
* This is the note field.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String note;
public String getNote() {
return note;
}
public void setNote(String note) {
noteSpecified = true;
this.note = note;
}
protected boolean noteSpecified;
public boolean isNoteSpecified() {
return noteSpecified;
}
public void unsetNote() {
note = null;
noteSpecified = false;
}
/**
* A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, and STATIC_IP_ROUTED. The type determines the order in which many subnets are sorted in the SoftLayer customer portal. This groups subnets of similar type together.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String sortOrder;
public String getSortOrder() {
return sortOrder;
}
public void setSortOrder(String sortOrder) {
sortOrderSpecified = true;
this.sortOrder = sortOrder;
}
protected boolean sortOrderSpecified;
public boolean isSortOrderSpecified() {
return sortOrderSpecified;
}
public void unsetSortOrder() {
sortOrder = null;
sortOrderSpecified = false;
}
/**
* A subnet can be one of several types. PRIMARY, ADDITIONAL_PRIMARY, SECONDARY, ROUTED_TO_VLAN, SECONDARY_ON_VLAN, STORAGE_NETWORK, and STATIC_IP_ROUTED. A "PRIMARY" subnet is the primary network bound to a VLAN within the softlayer network. An "ADDITIONAL_PRIMARY" subnet is bound to a network VLAN to augment the pool of available primary IP addresses that may be assigned to a server. A "SECONDARY" subnet is any of the secondary subnet's bound to a VLAN interface. A "ROUTED_TO_VLAN" subnet is a portable subnet that can be routed to any server on a vlan. A "SECONDARY_ON_VLAN" subnet also doesn't exist as a VLAN interface, but is routed directly to a VLAN instead of a single IP address by SoftLayer's routers.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String subnetType;
public String getSubnetType() {
return subnetType;
}
public void setSubnetType(String subnetType) {
subnetTypeSpecified = true;
this.subnetType = subnetType;
}
protected boolean subnetTypeSpecified;
public boolean isSubnetTypeSpecified() {
return subnetTypeSpecified;
}
public void unsetSubnetType() {
subnetType = null;
subnetTypeSpecified = false;
}
/**
* The number of IP addresses contained within this subnet.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigInteger totalIpAddresses;
public BigInteger getTotalIpAddresses() {
return totalIpAddresses;
}
public void setTotalIpAddresses(BigInteger totalIpAddresses) {
totalIpAddressesSpecified = true;
this.totalIpAddresses = totalIpAddresses;
}
protected boolean totalIpAddressesSpecified;
public boolean isTotalIpAddressesSpecified() {
return totalIpAddressesSpecified;
}
public void unsetTotalIpAddresses() {
totalIpAddresses = null;
totalIpAddressesSpecified = false;
}
/**
* The number of IP addresses that can be addressed within this subnet.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigInteger usableIpAddressCount;
public BigInteger getUsableIpAddressCount() {
return usableIpAddressCount;
}
public void setUsableIpAddressCount(BigInteger usableIpAddressCount) {
usableIpAddressCountSpecified = true;
this.usableIpAddressCount = usableIpAddressCount;
}
protected boolean usableIpAddressCountSpecified;
public boolean isUsableIpAddressCountSpecified() {
return usableIpAddressCountSpecified;
}
public void unsetUsableIpAddressCount() {
usableIpAddressCount = null;
usableIpAddressCountSpecified = false;
}
/**
* This is the Internet Protocol version. Current values may be either 4 or 6.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long version;
public Long getVersion() {
return version;
}
public void setVersion(Long version) {
versionSpecified = true;
this.version = version;
}
protected boolean versionSpecified;
public boolean isVersionSpecified() {
return versionSpecified;
}
public void unsetVersion() {
version = null;
versionSpecified = false;
}
/**
* A count of
*/
@ApiProperty
protected Long boundDescendantCount;
public Long getBoundDescendantCount() {
return boundDescendantCount;
}
public void setBoundDescendantCount(Long boundDescendantCount) {
this.boundDescendantCount = boundDescendantCount;
}
/**
* A count of
*/
@ApiProperty
protected Long boundRouterCount;
public Long getBoundRouterCount() {
return boundRouterCount;
}
public void setBoundRouterCount(Long boundRouterCount) {
this.boundRouterCount = boundRouterCount;
}
/**
* A count of
*/
@ApiProperty
protected Long childrenCount;
public Long getChildrenCount() {
return childrenCount;
}
public void setChildrenCount(Long childrenCount) {
this.childrenCount = childrenCount;
}
/**
* A count of
*/
@ApiProperty
protected Long descendantCount;
public Long getDescendantCount() {
return descendantCount;
}
public void setDescendantCount(Long descendantCount) {
this.descendantCount = descendantCount;
}
/**
* A count of the hardware that this subnet is routed to.
*/
@ApiProperty
protected Long hardwareCount;
public Long getHardwareCount() {
return hardwareCount;
}
public void setHardwareCount(Long hardwareCount) {
this.hardwareCount = hardwareCount;
}
/**
* A count of all the ip addresses associated with a subnet.
*/
@ApiProperty
protected Long ipAddressCount;
public Long getIpAddressCount() {
return ipAddressCount;
}
public void setIpAddressCount(Long ipAddressCount) {
this.ipAddressCount = ipAddressCount;
}
/**
* A count of
*/
@ApiProperty
protected Long networkProtectionAddressCount;
public Long getNetworkProtectionAddressCount() {
return networkProtectionAddressCount;
}
public void setNetworkProtectionAddressCount(Long networkProtectionAddressCount) {
this.networkProtectionAddressCount = networkProtectionAddressCount;
}
/**
* A count of iPSec network tunnels that have access to a private subnet.
*/
@ApiProperty
protected Long networkTunnelContextCount;
public Long getNetworkTunnelContextCount() {
return networkTunnelContextCount;
}
public void setNetworkTunnelContextCount(Long networkTunnelContextCount) {
this.networkTunnelContextCount = networkTunnelContextCount;
}
/**
* A count of
*/
@ApiProperty
protected Long protectedIpAddressCount;
public Long getProtectedIpAddressCount() {
return protectedIpAddressCount;
}
public void setProtectedIpAddressCount(Long protectedIpAddressCount) {
this.protectedIpAddressCount = protectedIpAddressCount;
}
/**
* A count of all registrations that have been created for this subnet.
*/
@ApiProperty
protected Long registrationCount;
public Long getRegistrationCount() {
return registrationCount;
}
public void setRegistrationCount(Long registrationCount) {
this.registrationCount = registrationCount;
}
/**
* A count of the resource groups in which this subnet is a member.
*/
@ApiProperty
protected Long resourceGroupCount;
public Long getResourceGroupCount() {
return resourceGroupCount;
}
public void setResourceGroupCount(Long resourceGroupCount) {
this.resourceGroupCount = resourceGroupCount;
}
/**
* A count of all the swip transactions associated with a subnet.
*/
@ApiProperty
protected Long swipTransactionCount;
public Long getSwipTransactionCount() {
return swipTransactionCount;
}
public void setSwipTransactionCount(Long swipTransactionCount) {
this.swipTransactionCount = swipTransactionCount;
}
/**
* A count of
*/
@ApiProperty
protected Long unboundDescendantCount;
public Long getUnboundDescendantCount() {
return unboundDescendantCount;
}
public void setUnboundDescendantCount(Long unboundDescendantCount) {
this.unboundDescendantCount = unboundDescendantCount;
}
/**
* A count of the Virtual Servers that this subnet is routed to.
*/
@ApiProperty
protected Long virtualGuestCount;
public Long getVirtualGuestCount() {
return virtualGuestCount;
}
public void setVirtualGuestCount(Long virtualGuestCount) {
this.virtualGuestCount = virtualGuestCount;
}
public Service asService(ApiClient client) {
return service(client, id);
}
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
public static Service service(ApiClient client, Long id) {
return client.createService(Service.class, id == null ? null : id.toString());
}
/**
* Every SoftLayer ip address is associated with a subnet which is defined in the SoftLayer_Network_Subnet service. SoftLayer subnets define a group of ip addresses and are assigned to a SoftLayer_Network_Vlan. The SoftLayer_Network_Subnet service gives you information about your subnet such as your network address, broadcast address, the subnet gateway address, and the total number of IP addresses within the subnet. Use the data returned by these methods with other API services to get more detailed information about your services.
*
* Along with VLANs, subnets are an integral part of the SoftLayer network. Each server ordered by SoftLayer comes with at least one public and one private subnet, with more available for order in the customer portal. Subnets exist in the SoftLayer network as either interfaces on a VLAN or as route destination from an IP address or VLAN.
*
* SoftLayer customers can order and manage subnets through the customer portal. If you need to cancel a subnet please open a sales ticket in our customer portal and our account management staff will assist you.
*
* @see SoftLayer_Network_Subnet
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Network_Subnet")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Create the default PTR records for this subnet
*
* @see SoftLayer_Network_Subnet::createReverseDomainRecords
*/
@ApiMethod(instanceRequired = true)
public Reverse createReverseDomainRecords();
/**
* This function is used to create a new transaction to modify a subnet route. Routes are updated in one to two minutes depending on the number of transactions that are pending for a router.
*
* Usage of this function is restricted and may only be called from authorized accounts. It is not available for general API users without justification and consent from a SoftLayer representative.
*
* @see SoftLayer_Network_Subnet::createSubnetRouteUpdateTransaction
*/
@ApiMethod(instanceRequired = true)
public Boolean createSubnetRouteUpdateTransaction(String newEndPointIpAddress);
/**
* This function is used to create a new SoftLayer SWIP transaction to register your RWHOIS data with ARIN. SWIP transactions can only be initiated on subnets that contain more than 8 IP addresses.
*
* @see SoftLayer_Network_Subnet::createSwipTransaction
*/
@ApiMethod(instanceRequired = true)
public Boolean createSwipTransaction();
/**
* Edit the note for this subnet.
*
* @see SoftLayer_Network_Subnet::editNote
*/
@ApiMethod(instanceRequired = true)
public Boolean editNote(String note);
/**
* Retrieve a list of a SoftLayer customer's subnets along with their SWIP transaction statuses. This is a shortcut method that combines the SoftLayer_Network_Subnet retrieval methods along with [[object masks]] to retrieve their subnets' associated SWIP transactions as well.
*
* This is a special function built for SoftLayer's use on the SWIP section of the customer portal, but may also be useful for API users looking for the same data.
*
* @see SoftLayer_Network_Subnet::findAllSubnetsAndActiveSwipTransactionStatus
*/
@ApiMethod
public List findAllSubnetsAndActiveSwipTransactionStatus();
/**
* getObject retrieves the SoftLayer_Network_Subnet object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Subnet service. You can only retrieve the subnet whose vlan is associated with the account that you portal user is assigned to.
*
* @see SoftLayer_Network_Subnet::getObject
*/
@ApiMethod(instanceRequired = true)
public Subnet getObject();
/**
* Retrieve all reverse DNS records associated with a subnet.
*
* @see SoftLayer_Network_Subnet::getReverseDomainRecords
*/
@ApiMethod(instanceRequired = true)
public List getReverseDomainRecords();
/**
* getRoutableEndpointAddresses retrieves valid routable endpoint addresses for a subnet. You may use any IP address in a portable subnet, but may not use the network identifier, gateway, or broadcast address for primary and secondary on VLAN subnets.
*
* @see SoftLayer_Network_Subnet::getRoutableEndpointIpAddresses
*/
@ApiMethod(instanceRequired = true)
public List getRoutableEndpointIpAddresses();
/**
* Retrieve the subnet associated with an IP address. You may only retrieve subnets assigned to your SoftLayer customer account.
*
* @see SoftLayer_Network_Subnet::getSubnetForIpAddress
*/
@ApiMethod
public Subnet getSubnetForIpAddress(String ipAddress);
/**
* @see SoftLayer_Network_Subnet::getAccount
*/
@ApiMethod(instanceRequired = true)
public Account getAccount();
/**
* If present, the active registration for this subnet.
*
* @see SoftLayer_Network_Subnet::getActiveRegistration
*/
@ApiMethod(instanceRequired = true)
public Registration getActiveRegistration();
/**
* All the swip transactions associated with a subnet that are still active.
*
* @see SoftLayer_Network_Subnet::getActiveSwipTransaction
*/
@ApiMethod(instanceRequired = true)
public Transaction getActiveSwipTransaction();
/**
* The billing item for a subnet.
*
* @see SoftLayer_Network_Subnet::getActiveTransaction
*/
@ApiMethod(instanceRequired = true)
public com.softlayer.api.service.provisioning.version1.Transaction getActiveTransaction();
/**
* Identifier which distinguishes whether the subnet is public or private address space.
*
* @see SoftLayer_Network_Subnet::getAddressSpace
*/
@ApiMethod(instanceRequired = true)
public String getAddressSpace();
/**
* The SoftLayer_Network_Storage_Allowed_Host information to connect this Subnet to Network Storage supporting access control lists.
*
* @see SoftLayer_Network_Subnet::getAllowedHost
*/
@ApiMethod(instanceRequired = true)
public Host getAllowedHost();
/**
* The billing item for a subnet.
*
* @see SoftLayer_Network_Subnet::getBillingItem
*/
@ApiMethod(instanceRequired = true)
public Item getBillingItem();
/**
* @see SoftLayer_Network_Subnet::getBoundDescendants
*/
@ApiMethod(instanceRequired = true)
public List getBoundDescendants();
/**
* Whether or not this subnet is associated with a router. Subnets that are not associated with a router cannot be routed.
*
* @see SoftLayer_Network_Subnet::getBoundRouterFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getBoundRouterFlag();
/**
* @see SoftLayer_Network_Subnet::getBoundRouters
*/
@ApiMethod(instanceRequired = true)
public List getBoundRouters();
/**
* @see SoftLayer_Network_Subnet::getChildren
*/
@ApiMethod(instanceRequired = true)
public List getChildren();
/**
* The data center this subnet may be routed within.
*
* @see SoftLayer_Network_Subnet::getDatacenter
*/
@ApiMethod(instanceRequired = true)
public Datacenter getDatacenter();
/**
* @see SoftLayer_Network_Subnet::getDescendants
*/
@ApiMethod(instanceRequired = true)
public List getDescendants();
/**
* @see SoftLayer_Network_Subnet::getDisplayLabel
*/
@ApiMethod(instanceRequired = true)
public String getDisplayLabel();
/**
* A static routed ip address
*
* @see SoftLayer_Network_Subnet::getEndPointIpAddress
*/
@ApiMethod(instanceRequired = true)
public IpAddress getEndPointIpAddress();
/**
* @see SoftLayer_Network_Subnet::getGlobalIpRecord
*/
@ApiMethod(instanceRequired = true)
public Global getGlobalIpRecord();
/**
* The hardware that this subnet is routed to.
*
* @see SoftLayer_Network_Subnet::getHardware
*/
@ApiMethod(instanceRequired = true)
public List getHardware();
/**
* All the ip addresses associated with a subnet.
*
* @see SoftLayer_Network_Subnet::getIpAddresses
*/
@ApiMethod(instanceRequired = true)
public List getIpAddresses();
/**
* A subnet's associated network component.
*
* @see SoftLayer_Network_Subnet::getNetworkComponent
*/
@ApiMethod(instanceRequired = true)
public Component getNetworkComponent();
/**
* The upstream network component firewall.
*
* @see SoftLayer_Network_Subnet::getNetworkComponentFirewall
*/
@ApiMethod(instanceRequired = true)
public Firewall getNetworkComponentFirewall();
/**
* @see SoftLayer_Network_Subnet::getNetworkProtectionAddresses
*/
@ApiMethod(instanceRequired = true)
public List getNetworkProtectionAddresses();
/**
* IPSec network tunnels that have access to a private subnet.
*
* @see SoftLayer_Network_Subnet::getNetworkTunnelContexts
*/
@ApiMethod(instanceRequired = true)
public List getNetworkTunnelContexts();
/**
* The VLAN object that a subnet is associated with.
*
* @see SoftLayer_Network_Subnet::getNetworkVlan
*/
@ApiMethod(instanceRequired = true)
public Vlan getNetworkVlan();
/**
* @see SoftLayer_Network_Subnet::getProtectedIpAddresses
*/
@ApiMethod(instanceRequired = true)
public List getProtectedIpAddresses();
/**
* @see SoftLayer_Network_Subnet::getRegionalInternetRegistry
*/
@ApiMethod(instanceRequired = true)
public Registry getRegionalInternetRegistry();
/**
* All registrations that have been created for this subnet.
*
* @see SoftLayer_Network_Subnet::getRegistrations
*/
@ApiMethod(instanceRequired = true)
public List getRegistrations();
/**
* The resource groups in which this subnet is a member.
*
* @see SoftLayer_Network_Subnet::getResourceGroups
*/
@ApiMethod(instanceRequired = true)
public List getResourceGroups();
/**
* The reverse DNS domain associated with this subnet.
*
* @see SoftLayer_Network_Subnet::getReverseDomain
*/
@ApiMethod(instanceRequired = true)
public Domain getReverseDomain();
/**
* An identifier of the role the subnet is within. Roles dictate how a subnet may be used.
*
* @see SoftLayer_Network_Subnet::getRoleKeyName
*/
@ApiMethod(instanceRequired = true)
public String getRoleKeyName();
/**
* The name of the role the subnet is within. Roles dictate how a subnet may be used.
*
* @see SoftLayer_Network_Subnet::getRoleName
*/
@ApiMethod(instanceRequired = true)
public String getRoleName();
/**
* The identifier for the type of route then subnet is currently configured for.
*
* @see SoftLayer_Network_Subnet::getRoutingTypeKeyName
*/
@ApiMethod(instanceRequired = true)
public String getRoutingTypeKeyName();
/**
* The name for the type of route then subnet is currently configured for.
*
* @see SoftLayer_Network_Subnet::getRoutingTypeName
*/
@ApiMethod(instanceRequired = true)
public String getRoutingTypeName();
/**
* All the swip transactions associated with a subnet.
*
* @see SoftLayer_Network_Subnet::getSwipTransaction
*/
@ApiMethod(instanceRequired = true)
public List getSwipTransaction();
/**
* @see SoftLayer_Network_Subnet::getUnboundDescendants
*/
@ApiMethod(instanceRequired = true)
public List getUnboundDescendants();
/**
* The Virtual Servers that this subnet is routed to.
*
* @see SoftLayer_Network_Subnet::getVirtualGuests
*/
@ApiMethod(instanceRequired = true)
public List getVirtualGuests();
}
public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Async version of {@link Service#createReverseDomainRecords}
*/
public Future createReverseDomainRecords();
public Future> createReverseDomainRecords(ResponseHandler callback);
/**
* Async version of {@link Service#createSubnetRouteUpdateTransaction}
*/
public Future createSubnetRouteUpdateTransaction(String newEndPointIpAddress);
public Future> createSubnetRouteUpdateTransaction(String newEndPointIpAddress, ResponseHandler callback);
/**
* Async version of {@link Service#createSwipTransaction}
*/
public Future createSwipTransaction();
public Future> createSwipTransaction(ResponseHandler callback);
/**
* Async version of {@link Service#editNote}
*/
public Future editNote(String note);
public Future> editNote(String note, ResponseHandler callback);
/**
* Async version of {@link Service#findAllSubnetsAndActiveSwipTransactionStatus}
*/
public Future> findAllSubnetsAndActiveSwipTransactionStatus();
public Future> findAllSubnetsAndActiveSwipTransactionStatus(ResponseHandler> callback);
/**
* Async version of {@link Service#getObject}
*/
public Future getObject();
public Future> getObject(ResponseHandler callback);
/**
* Async version of {@link Service#getReverseDomainRecords}
*/
public Future> getReverseDomainRecords();
public Future> getReverseDomainRecords(ResponseHandler> callback);
/**
* Async version of {@link Service#getRoutableEndpointIpAddresses}
*/
public Future> getRoutableEndpointIpAddresses();
public Future> getRoutableEndpointIpAddresses(ResponseHandler> callback);
/**
* Async version of {@link Service#getSubnetForIpAddress}
*/
public Future getSubnetForIpAddress(String ipAddress);
public Future> getSubnetForIpAddress(String ipAddress, ResponseHandler callback);
/**
* Async version of {@link Service#getAccount}
*/
public Future getAccount();
/**
* Async callback version of {@link Service#getAccount}
*/
public Future> getAccount(ResponseHandler callback);
/**
* Async version of {@link Service#getActiveRegistration}
*/
public Future getActiveRegistration();
/**
* Async callback version of {@link Service#getActiveRegistration}
*/
public Future> getActiveRegistration(ResponseHandler callback);
/**
* Async version of {@link Service#getActiveSwipTransaction}
*/
public Future getActiveSwipTransaction();
/**
* Async callback version of {@link Service#getActiveSwipTransaction}
*/
public Future> getActiveSwipTransaction(ResponseHandler callback);
/**
* Async version of {@link Service#getActiveTransaction}
*/
public Future getActiveTransaction();
/**
* Async callback version of {@link Service#getActiveTransaction}
*/
public Future> getActiveTransaction(ResponseHandler callback);
/**
* Async version of {@link Service#getAddressSpace}
*/
public Future getAddressSpace();
/**
* Async callback version of {@link Service#getAddressSpace}
*/
public Future> getAddressSpace(ResponseHandler callback);
/**
* Async version of {@link Service#getAllowedHost}
*/
public Future getAllowedHost();
/**
* Async callback version of {@link Service#getAllowedHost}
*/
public Future> getAllowedHost(ResponseHandler callback);
/**
* Async version of {@link Service#getBillingItem}
*/
public Future- getBillingItem();
/**
* Async callback version of {@link Service#getBillingItem}
*/
public Future> getBillingItem(ResponseHandler
- callback);
/**
* Async version of {@link Service#getBoundDescendants}
*/
public Future
> getBoundDescendants();
/**
* Async callback version of {@link Service#getBoundDescendants}
*/
public Future> getBoundDescendants(ResponseHandler> callback);
/**
* Async version of {@link Service#getBoundRouterFlag}
*/
public Future getBoundRouterFlag();
/**
* Async callback version of {@link Service#getBoundRouterFlag}
*/
public Future> getBoundRouterFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getBoundRouters}
*/
public Future> getBoundRouters();
/**
* Async callback version of {@link Service#getBoundRouters}
*/
public Future> getBoundRouters(ResponseHandler> callback);
/**
* Async version of {@link Service#getChildren}
*/
public Future> getChildren();
/**
* Async callback version of {@link Service#getChildren}
*/
public Future> getChildren(ResponseHandler> callback);
/**
* Async version of {@link Service#getDatacenter}
*/
public Future getDatacenter();
/**
* Async callback version of {@link Service#getDatacenter}
*/
public Future> getDatacenter(ResponseHandler callback);
/**
* Async version of {@link Service#getDescendants}
*/
public Future> getDescendants();
/**
* Async callback version of {@link Service#getDescendants}
*/
public Future> getDescendants(ResponseHandler> callback);
/**
* Async version of {@link Service#getDisplayLabel}
*/
public Future getDisplayLabel();
/**
* Async callback version of {@link Service#getDisplayLabel}
*/
public Future> getDisplayLabel(ResponseHandler callback);
/**
* Async version of {@link Service#getEndPointIpAddress}
*/
public Future getEndPointIpAddress();
/**
* Async callback version of {@link Service#getEndPointIpAddress}
*/
public Future> getEndPointIpAddress(ResponseHandler callback);
/**
* Async version of {@link Service#getGlobalIpRecord}
*/
public Future getGlobalIpRecord();
/**
* Async callback version of {@link Service#getGlobalIpRecord}
*/
public Future> getGlobalIpRecord(ResponseHandler callback);
/**
* Async version of {@link Service#getHardware}
*/
public Future> getHardware();
/**
* Async callback version of {@link Service#getHardware}
*/
public Future> getHardware(ResponseHandler> callback);
/**
* Async version of {@link Service#getIpAddresses}
*/
public Future> getIpAddresses();
/**
* Async callback version of {@link Service#getIpAddresses}
*/
public Future> getIpAddresses(ResponseHandler> callback);
/**
* Async version of {@link Service#getNetworkComponent}
*/
public Future getNetworkComponent();
/**
* Async callback version of {@link Service#getNetworkComponent}
*/
public Future> getNetworkComponent(ResponseHandler callback);
/**
* Async version of {@link Service#getNetworkComponentFirewall}
*/
public Future getNetworkComponentFirewall();
/**
* Async callback version of {@link Service#getNetworkComponentFirewall}
*/
public Future> getNetworkComponentFirewall(ResponseHandler callback);
/**
* Async version of {@link Service#getNetworkProtectionAddresses}
*/
public Future> getNetworkProtectionAddresses();
/**
* Async callback version of {@link Service#getNetworkProtectionAddresses}
*/
public Future> getNetworkProtectionAddresses(ResponseHandler> callback);
/**
* Async version of {@link Service#getNetworkTunnelContexts}
*/
public Future> getNetworkTunnelContexts();
/**
* Async callback version of {@link Service#getNetworkTunnelContexts}
*/
public Future> getNetworkTunnelContexts(ResponseHandler> callback);
/**
* Async version of {@link Service#getNetworkVlan}
*/
public Future getNetworkVlan();
/**
* Async callback version of {@link Service#getNetworkVlan}
*/
public Future> getNetworkVlan(ResponseHandler callback);
/**
* Async version of {@link Service#getProtectedIpAddresses}
*/
public Future> getProtectedIpAddresses();
/**
* Async callback version of {@link Service#getProtectedIpAddresses}
*/
public Future> getProtectedIpAddresses(ResponseHandler> callback);
/**
* Async version of {@link Service#getRegionalInternetRegistry}
*/
public Future getRegionalInternetRegistry();
/**
* Async callback version of {@link Service#getRegionalInternetRegistry}
*/
public Future> getRegionalInternetRegistry(ResponseHandler callback);
/**
* Async version of {@link Service#getRegistrations}
*/
public Future> getRegistrations();
/**
* Async callback version of {@link Service#getRegistrations}
*/
public Future> getRegistrations(ResponseHandler> callback);
/**
* Async version of {@link Service#getResourceGroups}
*/
public Future> getResourceGroups();
/**
* Async callback version of {@link Service#getResourceGroups}
*/
public Future> getResourceGroups(ResponseHandler> callback);
/**
* Async version of {@link Service#getReverseDomain}
*/
public Future getReverseDomain();
/**
* Async callback version of {@link Service#getReverseDomain}
*/
public Future> getReverseDomain(ResponseHandler callback);
/**
* Async version of {@link Service#getRoleKeyName}
*/
public Future getRoleKeyName();
/**
* Async callback version of {@link Service#getRoleKeyName}
*/
public Future> getRoleKeyName(ResponseHandler callback);
/**
* Async version of {@link Service#getRoleName}
*/
public Future getRoleName();
/**
* Async callback version of {@link Service#getRoleName}
*/
public Future> getRoleName(ResponseHandler callback);
/**
* Async version of {@link Service#getRoutingTypeKeyName}
*/
public Future getRoutingTypeKeyName();
/**
* Async callback version of {@link Service#getRoutingTypeKeyName}
*/
public Future> getRoutingTypeKeyName(ResponseHandler callback);
/**
* Async version of {@link Service#getRoutingTypeName}
*/
public Future getRoutingTypeName();
/**
* Async callback version of {@link Service#getRoutingTypeName}
*/
public Future> getRoutingTypeName(ResponseHandler callback);
/**
* Async version of {@link Service#getSwipTransaction}
*/
public Future> getSwipTransaction();
/**
* Async callback version of {@link Service#getSwipTransaction}
*/
public Future> getSwipTransaction(ResponseHandler> callback);
/**
* Async version of {@link Service#getUnboundDescendants}
*/
public Future> getUnboundDescendants();
/**
* Async callback version of {@link Service#getUnboundDescendants}
*/
public Future> getUnboundDescendants(ResponseHandler> callback);
/**
* Async version of {@link Service#getVirtualGuests}
*/
public Future> getVirtualGuests();
/**
* Async callback version of {@link Service#getVirtualGuests}
*/
public Future> getVirtualGuests(ResponseHandler> callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.Account.Mask account() {
return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
}
public com.softlayer.api.service.network.subnet.Registration.Mask activeRegistration() {
return withSubMask("activeRegistration", com.softlayer.api.service.network.subnet.Registration.Mask.class);
}
public com.softlayer.api.service.network.subnet.swip.Transaction.Mask activeSwipTransaction() {
return withSubMask("activeSwipTransaction", com.softlayer.api.service.network.subnet.swip.Transaction.Mask.class);
}
public com.softlayer.api.service.provisioning.version1.Transaction.Mask activeTransaction() {
return withSubMask("activeTransaction", com.softlayer.api.service.provisioning.version1.Transaction.Mask.class);
}
public Mask addressSpace() {
withLocalProperty("addressSpace");
return this;
}
public com.softlayer.api.service.network.storage.allowed.Host.Mask allowedHost() {
return withSubMask("allowedHost", com.softlayer.api.service.network.storage.allowed.Host.Mask.class);
}
public com.softlayer.api.service.billing.Item.Mask billingItem() {
return withSubMask("billingItem", com.softlayer.api.service.billing.Item.Mask.class);
}
public Subnet.Mask boundDescendants() {
return withSubMask("boundDescendants", Subnet.Mask.class);
}
public Mask boundRouterFlag() {
withLocalProperty("boundRouterFlag");
return this;
}
public com.softlayer.api.service.Hardware.Mask boundRouters() {
return withSubMask("boundRouters", com.softlayer.api.service.Hardware.Mask.class);
}
public Subnet.Mask children() {
return withSubMask("children", Subnet.Mask.class);
}
public com.softlayer.api.service.location.Datacenter.Mask datacenter() {
return withSubMask("datacenter", com.softlayer.api.service.location.Datacenter.Mask.class);
}
public Subnet.Mask descendants() {
return withSubMask("descendants", Subnet.Mask.class);
}
public Mask displayLabel() {
withLocalProperty("displayLabel");
return this;
}
public com.softlayer.api.service.network.subnet.IpAddress.Mask endPointIpAddress() {
return withSubMask("endPointIpAddress", com.softlayer.api.service.network.subnet.IpAddress.Mask.class);
}
public com.softlayer.api.service.network.subnet.ipaddress.Global.Mask globalIpRecord() {
return withSubMask("globalIpRecord", com.softlayer.api.service.network.subnet.ipaddress.Global.Mask.class);
}
public com.softlayer.api.service.Hardware.Mask hardware() {
return withSubMask("hardware", com.softlayer.api.service.Hardware.Mask.class);
}
public com.softlayer.api.service.network.subnet.IpAddress.Mask ipAddresses() {
return withSubMask("ipAddresses", com.softlayer.api.service.network.subnet.IpAddress.Mask.class);
}
public Component.Mask networkComponent() {
return withSubMask("networkComponent", Component.Mask.class);
}
public com.softlayer.api.service.network.component.Firewall.Mask networkComponentFirewall() {
return withSubMask("networkComponentFirewall", com.softlayer.api.service.network.component.Firewall.Mask.class);
}
public com.softlayer.api.service.network.protection.Address.Mask networkProtectionAddresses() {
return withSubMask("networkProtectionAddresses", com.softlayer.api.service.network.protection.Address.Mask.class);
}
public com.softlayer.api.service.network.tunnel.module.Context.Mask networkTunnelContexts() {
return withSubMask("networkTunnelContexts", com.softlayer.api.service.network.tunnel.module.Context.Mask.class);
}
public Vlan.Mask networkVlan() {
return withSubMask("networkVlan", Vlan.Mask.class);
}
public com.softlayer.api.service.network.subnet.IpAddress.Mask protectedIpAddresses() {
return withSubMask("protectedIpAddresses", com.softlayer.api.service.network.subnet.IpAddress.Mask.class);
}
public com.softlayer.api.service.network.regional.internet.Registry.Mask regionalInternetRegistry() {
return withSubMask("regionalInternetRegistry", com.softlayer.api.service.network.regional.internet.Registry.Mask.class);
}
public com.softlayer.api.service.network.subnet.Registration.Mask registrations() {
return withSubMask("registrations", com.softlayer.api.service.network.subnet.Registration.Mask.class);
}
public com.softlayer.api.service.resource.Group.Mask resourceGroups() {
return withSubMask("resourceGroups", com.softlayer.api.service.resource.Group.Mask.class);
}
public com.softlayer.api.service.dns.Domain.Mask reverseDomain() {
return withSubMask("reverseDomain", com.softlayer.api.service.dns.Domain.Mask.class);
}
public Mask roleKeyName() {
withLocalProperty("roleKeyName");
return this;
}
public Mask roleName() {
withLocalProperty("roleName");
return this;
}
public Mask routingTypeKeyName() {
withLocalProperty("routingTypeKeyName");
return this;
}
public Mask routingTypeName() {
withLocalProperty("routingTypeName");
return this;
}
public com.softlayer.api.service.network.subnet.swip.Transaction.Mask swipTransaction() {
return withSubMask("swipTransaction", com.softlayer.api.service.network.subnet.swip.Transaction.Mask.class);
}
public Subnet.Mask unboundDescendants() {
return withSubMask("unboundDescendants", Subnet.Mask.class);
}
public com.softlayer.api.service.virtual.Guest.Mask virtualGuests() {
return withSubMask("virtualGuests", com.softlayer.api.service.virtual.Guest.Mask.class);
}
public Mask broadcastAddress() {
withLocalProperty("broadcastAddress");
return this;
}
public Mask cidr() {
withLocalProperty("cidr");
return this;
}
public Mask gateway() {
withLocalProperty("gateway");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask isCustomerOwned() {
withLocalProperty("isCustomerOwned");
return this;
}
public Mask isCustomerRoutable() {
withLocalProperty("isCustomerRoutable");
return this;
}
public Mask modifyDate() {
withLocalProperty("modifyDate");
return this;
}
public Mask netmask() {
withLocalProperty("netmask");
return this;
}
public Mask networkIdentifier() {
withLocalProperty("networkIdentifier");
return this;
}
public Mask networkVlanId() {
withLocalProperty("networkVlanId");
return this;
}
public Mask note() {
withLocalProperty("note");
return this;
}
public Mask sortOrder() {
withLocalProperty("sortOrder");
return this;
}
public Mask subnetType() {
withLocalProperty("subnetType");
return this;
}
public Mask totalIpAddresses() {
withLocalProperty("totalIpAddresses");
return this;
}
public Mask usableIpAddressCount() {
withLocalProperty("usableIpAddressCount");
return this;
}
public Mask version() {
withLocalProperty("version");
return this;
}
public Mask boundDescendantCount() {
withLocalProperty("boundDescendantCount");
return this;
}
public Mask boundRouterCount() {
withLocalProperty("boundRouterCount");
return this;
}
public Mask childrenCount() {
withLocalProperty("childrenCount");
return this;
}
public Mask descendantCount() {
withLocalProperty("descendantCount");
return this;
}
public Mask hardwareCount() {
withLocalProperty("hardwareCount");
return this;
}
public Mask ipAddressCount() {
withLocalProperty("ipAddressCount");
return this;
}
public Mask networkProtectionAddressCount() {
withLocalProperty("networkProtectionAddressCount");
return this;
}
public Mask networkTunnelContextCount() {
withLocalProperty("networkTunnelContextCount");
return this;
}
public Mask protectedIpAddressCount() {
withLocalProperty("protectedIpAddressCount");
return this;
}
public Mask registrationCount() {
withLocalProperty("registrationCount");
return this;
}
public Mask resourceGroupCount() {
withLocalProperty("resourceGroupCount");
return this;
}
public Mask swipTransactionCount() {
withLocalProperty("swipTransactionCount");
return this;
}
public Mask unboundDescendantCount() {
withLocalProperty("unboundDescendantCount");
return this;
}
public Mask virtualGuestCount() {
withLocalProperty("virtualGuestCount");
return this;
}
}
}