Interface Subnet.Service
-
- All Superinterfaces:
Host.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- Subnet
@ApiService("SoftLayer_Network_Storage_Allowed_Host_Subnet") public static interface Subnet.Service extends Host.Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subnet.ServiceAsync
asAsync()
Get an async version of this serviceAccount
getAccount()
The SoftLayer_Account object which this SoftLayer_Network_Storage_Allowed_Host belongs to.Subnet
getObjectForSubnet()
Subnet
getResource()
The SoftLayer_Network_Subnet object which this SoftLayer_Network_Storage_Allowed_Host is referencing.void
setMask(Subnet.Mask mask)
Subnet.Mask
withMask()
Use the existing mask on this service or create it if not presentSubnet.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.service.network.storage.allowed.Host.Service
assignSubnetsToAcl, editObject, getAllObjects, getAssignedGroups, getAssignedIscsiVolumes, getAssignedNfsVolumes, getAssignedReplicationVolumes, getAssignedVolumes, getCredential, getObject, getSourceSubnet, getSubnetsInAcl, removeSubnetsFromAcl, setCredentialPassword, setMask
-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Subnet.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceHost.Service
- Specified by:
asAsync
in interfaceService
-
withNewMask
Subnet.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceHost.Service
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Subnet.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceHost.Service
- Specified by:
withMask
in interfaceMaskable
-
setMask
void setMask(Subnet.Mask mask)
-
getObjectForSubnet
@ApiMethod(value="getObject", instanceRequired=true) Subnet getObjectForSubnet()
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
The SoftLayer_Account object which this SoftLayer_Network_Storage_Allowed_Host belongs to.
-
getResource
@ApiMethod(instanceRequired=true) Subnet getResource()
The SoftLayer_Network_Subnet object which this SoftLayer_Network_Storage_Allowed_Host is referencing.
-
-