Class DedicatedHost
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.virtual.DedicatedHost
-
@ApiType("SoftLayer_Virtual_DedicatedHost") public class DedicatedHost extends Entity
This data type presents the structure for a dedicated host. The data type contains relational properties to distinguish a dedicated host and associate an account to it.- See Also:
- SoftLayer_Virtual_DedicatedHost
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DedicatedHost.Mask
static interface
DedicatedHost.Service
SoftLayer_Virtual_DedicatedHost models a single tenant virtual host dedicated to a specific account.static interface
DedicatedHost.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that the dedicated host belongs to.protected Long
accountId
The dedicated host's associated account id.protected boolean
accountIdSpecified
protected AllocationStatus
allocationStatus
The container that represents allocations on the dedicated host.protected Backend
backendRouter
The backend router behind dedicated host's pool of resources.protected DedicatedHost
billingItem
The billing item for the dedicated host.protected Long
cpuCount
The capacity that the dedicated host's CPU allocation is restricted to.protected boolean
cpuCountSpecified
protected GregorianCalendar
createDate
The date that the dedicated host was created.protected boolean
createDateSpecified
protected Location
datacenter
The datacenter that the dedicated host resides in.protected Long
diskCapacity
The capacity that the dedicated host's disk allocation is restricted to.protected boolean
diskCapacitySpecified
protected Long
guestCount
A count of the guests associated with the dedicated host.protected List<Guest>
guests
The guests associated with the dedicated host.protected Long
id
The dedicated host's associated unique id.protected boolean
idSpecified
protected Long
internalTagReferenceCount
A count ofprotected List<Reference>
internalTagReferences
protected Long
memoryCapacity
The capacity that the dedicated host's memory allocation is restricted to.protected boolean
memoryCapacitySpecified
protected GregorianCalendar
modifyDate
The date that the dedicated host was last modified.protected boolean
modifyDateSpecified
protected String
name
The dedicated host's name.protected boolean
nameSpecified
protected String
notes
A note of up to 1,000 characters about a dedicated host.protected boolean
notesSpecified
protected AllocationStatus
pciDeviceAllocationStatus
The container that represents PCI device allocations on the dedicated host.protected Long
pciDeviceCount
A count of a collection of SoftLayer_Virtual_Host_PciDevice objects on the host.protected List<PciDevice>
pciDevices
A collection of SoftLayer_Virtual_Host_PciDevice objects on the host.protected Long
tagReferenceCount
A count ofprotected List<Reference>
tagReferences
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description DedicatedHost()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account that the dedicated host belongs to.
-
allocationStatus
@ApiProperty protected AllocationStatus allocationStatus
The container that represents allocations on the dedicated host.
-
backendRouter
@ApiProperty protected Backend backendRouter
The backend router behind dedicated host's pool of resources.
-
billingItem
@ApiProperty protected DedicatedHost billingItem
The billing item for the dedicated host.
-
datacenter
@ApiProperty protected Location datacenter
The datacenter that the dedicated host resides in.
-
guests
@ApiProperty protected List<Guest> guests
The guests associated with the dedicated host.
-
internalTagReferences
@ApiProperty protected List<Reference> internalTagReferences
-
pciDeviceAllocationStatus
@ApiProperty protected AllocationStatus pciDeviceAllocationStatus
The container that represents PCI device allocations on the dedicated host.
-
pciDevices
@ApiProperty protected List<PciDevice> pciDevices
A collection of SoftLayer_Virtual_Host_PciDevice objects on the host.
-
tagReferences
@ApiProperty protected List<Reference> tagReferences
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The dedicated host's associated account id.
-
accountIdSpecified
protected boolean accountIdSpecified
-
cpuCount
@ApiProperty(canBeNullOrNotSet=true) protected Long cpuCount
The capacity that the dedicated host's CPU allocation is restricted to.
-
cpuCountSpecified
protected boolean cpuCountSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date that the dedicated host was created.
-
createDateSpecified
protected boolean createDateSpecified
-
diskCapacity
@ApiProperty(canBeNullOrNotSet=true) protected Long diskCapacity
The capacity that the dedicated host's disk allocation is restricted to.
-
diskCapacitySpecified
protected boolean diskCapacitySpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The dedicated host's associated unique id.
-
idSpecified
protected boolean idSpecified
-
memoryCapacity
@ApiProperty(canBeNullOrNotSet=true) protected Long memoryCapacity
The capacity that the dedicated host's memory allocation is restricted to.
-
memoryCapacitySpecified
protected boolean memoryCapacitySpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date that the dedicated host was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The dedicated host's name.
-
nameSpecified
protected boolean nameSpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
A note of up to 1,000 characters about a dedicated host.
-
notesSpecified
protected boolean notesSpecified
-
guestCount
@ApiProperty protected Long guestCount
A count of the guests associated with the dedicated host.
-
internalTagReferenceCount
@ApiProperty protected Long internalTagReferenceCount
A count of
-
pciDeviceCount
@ApiProperty protected Long pciDeviceCount
A count of a collection of SoftLayer_Virtual_Host_PciDevice objects on the host.
-
tagReferenceCount
@ApiProperty protected Long tagReferenceCount
A count of
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getAllocationStatus
public AllocationStatus getAllocationStatus()
-
setAllocationStatus
public void setAllocationStatus(AllocationStatus allocationStatus)
-
getBackendRouter
public Backend getBackendRouter()
-
setBackendRouter
public void setBackendRouter(Backend backendRouter)
-
getBillingItem
public DedicatedHost getBillingItem()
-
setBillingItem
public void setBillingItem(DedicatedHost billingItem)
-
getDatacenter
public Location getDatacenter()
-
setDatacenter
public void setDatacenter(Location datacenter)
-
getPciDeviceAllocationStatus
public AllocationStatus getPciDeviceAllocationStatus()
-
setPciDeviceAllocationStatus
public void setPciDeviceAllocationStatus(AllocationStatus pciDeviceAllocationStatus)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCpuCount
public Long getCpuCount()
-
setCpuCount
public void setCpuCount(Long cpuCount)
-
isCpuCountSpecified
public boolean isCpuCountSpecified()
-
unsetCpuCount
public void unsetCpuCount()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getDiskCapacity
public Long getDiskCapacity()
-
setDiskCapacity
public void setDiskCapacity(Long diskCapacity)
-
isDiskCapacitySpecified
public boolean isDiskCapacitySpecified()
-
unsetDiskCapacity
public void unsetDiskCapacity()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getMemoryCapacity
public Long getMemoryCapacity()
-
setMemoryCapacity
public void setMemoryCapacity(Long memoryCapacity)
-
isMemoryCapacitySpecified
public boolean isMemoryCapacitySpecified()
-
unsetMemoryCapacity
public void unsetMemoryCapacity()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
getGuestCount
public Long getGuestCount()
-
setGuestCount
public void setGuestCount(Long guestCount)
-
getInternalTagReferenceCount
public Long getInternalTagReferenceCount()
-
setInternalTagReferenceCount
public void setInternalTagReferenceCount(Long internalTagReferenceCount)
-
getPciDeviceCount
public Long getPciDeviceCount()
-
setPciDeviceCount
public void setPciDeviceCount(Long pciDeviceCount)
-
getTagReferenceCount
public Long getTagReferenceCount()
-
setTagReferenceCount
public void setTagReferenceCount(Long tagReferenceCount)
-
asService
public DedicatedHost.Service asService(ApiClient client)
-
service
public static DedicatedHost.Service service(ApiClient client)
-
service
public static DedicatedHost.Service service(ApiClient client, Long id)
-
-