Class VirtualLicense
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.software.VirtualLicense
-
@ApiType("SoftLayer_Software_VirtualLicense") public class VirtualLicense extends Entity
SoftLayer_Software_VirtualLicense is the application class that handles a special type of Software License. Most software licenses are licensed to a specific hardware ID; virtual licenses are designed for virtual machines and therefore are assigned to an IP Address. Not all software packages can be "virtual licensed".- See Also:
- SoftLayer_Software_VirtualLicense
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualLicense.Mask
static interface
VirtualLicense.Service
SoftLayer_Software_VirtualLicense is the application class that handles a special type of Software License.static interface
VirtualLicense.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The customer account this Virtual License belongs to.protected Long
accountId
The ID of the SoftLayer Account to which this Virtual License belongs to.protected boolean
accountIdSpecified
protected Item
billingItem
The billing item for a software virtual license.protected Server
hostHardware
The hardware record to which the software virtual license is assigned.protected Long
hostHardwareId
The ID of the SoftLayer Hardware Server record to which this Virtual License belongs.protected boolean
hostHardwareIdSpecified
protected Long
id
An ID number for this Virtual License instance.protected boolean
idSpecified
protected String
ipAddress
The specific IP address this Virtual License belongs to.protected IpAddress
ipAddressRecord
The IP Address record associated with a virtual license.protected boolean
ipAddressSpecified
protected String
key
The License Key for this specific Virtual License.protected boolean
keySpecified
protected String
notes
A "notes" string attached to this specific Virtual License.protected boolean
notesSpecified
protected Description
softwareDescription
The SoftLayer_Software_Description that this virtual license is for.protected Long
softwareDescriptionId
The Software Description ID this Virtual License is for.protected boolean
softwareDescriptionIdSpecified
protected Subnet
subnet
The subnet this Virtual License's IP address belongs to.protected Long
subnetId
The ID of the SoftLayer Network Subnet this Virtual License belongs to.protected boolean
subnetIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description VirtualLicense()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The customer account this Virtual License belongs to.
-
billingItem
@ApiProperty protected Item billingItem
The billing item for a software virtual license.
-
hostHardware
@ApiProperty protected Server hostHardware
The hardware record to which the software virtual license is assigned.
-
ipAddressRecord
@ApiProperty protected IpAddress ipAddressRecord
The IP Address record associated with a virtual license.
-
softwareDescription
@ApiProperty protected Description softwareDescription
The SoftLayer_Software_Description that this virtual license is for.
-
subnet
@ApiProperty protected Subnet subnet
The subnet this Virtual License's IP address belongs to.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The ID of the SoftLayer Account to which this Virtual License belongs to.
-
accountIdSpecified
protected boolean accountIdSpecified
-
hostHardwareId
@ApiProperty(canBeNullOrNotSet=true) protected Long hostHardwareId
The ID of the SoftLayer Hardware Server record to which this Virtual License belongs.
-
hostHardwareIdSpecified
protected boolean hostHardwareIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
An ID number for this Virtual License instance.
-
idSpecified
protected boolean idSpecified
-
ipAddress
@ApiProperty(canBeNullOrNotSet=true) protected String ipAddress
The specific IP address this Virtual License belongs to.
-
ipAddressSpecified
protected boolean ipAddressSpecified
-
key
@ApiProperty(canBeNullOrNotSet=true) protected String key
The License Key for this specific Virtual License.
-
keySpecified
protected boolean keySpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
A "notes" string attached to this specific Virtual License.
-
notesSpecified
protected boolean notesSpecified
-
softwareDescriptionId
@ApiProperty(canBeNullOrNotSet=true) protected Long softwareDescriptionId
The Software Description ID this Virtual License is for.
-
softwareDescriptionIdSpecified
protected boolean softwareDescriptionIdSpecified
-
subnetId
@ApiProperty(canBeNullOrNotSet=true) protected Long subnetId
The ID of the SoftLayer Network Subnet this Virtual License belongs to.
-
subnetIdSpecified
protected boolean subnetIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getBillingItem
public Item getBillingItem()
-
setBillingItem
public void setBillingItem(Item billingItem)
-
getHostHardware
public Server getHostHardware()
-
setHostHardware
public void setHostHardware(Server hostHardware)
-
getIpAddressRecord
public IpAddress getIpAddressRecord()
-
setIpAddressRecord
public void setIpAddressRecord(IpAddress ipAddressRecord)
-
getSoftwareDescription
public Description getSoftwareDescription()
-
setSoftwareDescription
public void setSoftwareDescription(Description softwareDescription)
-
getSubnet
public Subnet getSubnet()
-
setSubnet
public void setSubnet(Subnet subnet)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getHostHardwareId
public Long getHostHardwareId()
-
setHostHardwareId
public void setHostHardwareId(Long hostHardwareId)
-
isHostHardwareIdSpecified
public boolean isHostHardwareIdSpecified()
-
unsetHostHardwareId
public void unsetHostHardwareId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getIpAddress
public String getIpAddress()
-
setIpAddress
public void setIpAddress(String ipAddress)
-
isIpAddressSpecified
public boolean isIpAddressSpecified()
-
unsetIpAddress
public void unsetIpAddress()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
isKeySpecified
public boolean isKeySpecified()
-
unsetKey
public void unsetKey()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
getSoftwareDescriptionId
public Long getSoftwareDescriptionId()
-
setSoftwareDescriptionId
public void setSoftwareDescriptionId(Long softwareDescriptionId)
-
isSoftwareDescriptionIdSpecified
public boolean isSoftwareDescriptionIdSpecified()
-
unsetSoftwareDescriptionId
public void unsetSoftwareDescriptionId()
-
getSubnetId
public Long getSubnetId()
-
setSubnetId
public void setSubnetId(Long subnetId)
-
isSubnetIdSpecified
public boolean isSubnetIdSpecified()
-
unsetSubnetId
public void unsetSubnetId()
-
asService
public VirtualLicense.Service asService(ApiClient client)
-
service
public static VirtualLicense.Service service(ApiClient client)
-
service
public static VirtualLicense.Service service(ApiClient client, Long id)
-
-