Class Host
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.ticket.Attachment
com.softlayer.api.service.ticket.attachment.dedicated.Host
@ApiType("SoftLayer_Ticket_Attachment_Dedicated_Host") public class Host extends Attachment
SoftLayer tickets have the ability to be associated with specific dedicated hosts in a customer's inventory. Attaching a dedicated host to a ticket can greatly increase response time from SoftLayer for issues that are related to one or more specific hosts on a customer's account. The SoftLayer_Ticket_Attachment_Dedicated_Host data type models the relationship between a dedicated host and a ticket. Only one attachment record can exist per dedicated host item per ticket.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Mask
-
Field Summary
Fields Modifier and Type Field Description protected DedicatedHost
dedicatedHost
The dedicated dost that is attached to a ticket.protected Long
dedicatedHostId
The internal identifier of the Dedicated Host that is attached to a ticket.protected boolean
dedicatedHostIdSpecified
protected DedicatedHost
resource
The Dedicated Host that is attached to a ticket.Fields inherited from class com.softlayer.api.service.ticket.Attachment
attachmentId, attachmentIdSpecified, createDate, createDateSpecified, id, idSpecified, ticket, ticketId, ticketIdSpecified
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
Modifier and Type Method Description DedicatedHost
getDedicatedHost()
Long
getDedicatedHostId()
DedicatedHost
getResource()
boolean
isDedicatedHostIdSpecified()
void
setDedicatedHost(DedicatedHost dedicatedHost)
void
setDedicatedHostId(Long dedicatedHostId)
void
setResource(DedicatedHost resource)
void
unsetDedicatedHostId()
Methods inherited from class com.softlayer.api.service.ticket.Attachment
getAttachmentId, getCreateDate, getId, getTicket, getTicketId, isAttachmentIdSpecified, isCreateDateSpecified, isIdSpecified, isTicketIdSpecified, setAttachmentId, setCreateDate, setId, setTicket, setTicketId, unsetAttachmentId, unsetCreateDate, unsetId, unsetTicketId
-
Field Details
-
dedicatedHost
The dedicated dost that is attached to a ticket. -
resource
The Dedicated Host that is attached to a ticket. -
dedicatedHostId
The internal identifier of the Dedicated Host that is attached to a ticket. -
dedicatedHostIdSpecified
protected boolean dedicatedHostIdSpecified
-
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
getDedicatedHost
-
setDedicatedHost
-
getResource
-
setResource
-
getDedicatedHostId
-
setDedicatedHostId
-
isDedicatedHostIdSpecified
public boolean isDedicatedHostIdSpecified() -
unsetDedicatedHostId
public void unsetDedicatedHostId()
-