Class PlacementGroup
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.virtual.PlacementGroup
-
@ApiType("SoftLayer_Virtual_PlacementGroup") public class PlacementGroup extends Entity
This data type presents the structure for a virtual guest placement group. The data type contains relational properties to the virtual guest placement group rule class.- See Also:
- SoftLayer_Virtual_PlacementGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlacementGroup.Mask
static interface
PlacementGroup.Service
SoftLayer_Virtual_PlacementGroup is a collection of virtual guests to be placed relative to each other according to a rule.static interface
PlacementGroup.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that the placement group is implemented on.protected Long
accountId
The unique ID of the account that created the placement group.protected boolean
accountIdSpecified
protected Backend
backendRouter
The router the placement group is implemented on.protected Long
backendRouterId
The placement group's backend router's associated unique ID.protected boolean
backendRouterIdSpecified
protected GregorianCalendar
createDate
The placement group's date of creation.protected boolean
createDateSpecified
protected Long
guestCount
A count of the virtual guests that are members of the placement group.protected List<Guest>
guests
The virtual guests that are members of the placement group.protected Long
id
The placement group's associated unique ID.protected boolean
idSpecified
protected GregorianCalendar
modifyDate
The placement group's date of most recent modification.protected boolean
modifyDateSpecified
protected String
name
The placement group's name.protected boolean
nameSpecified
protected Rule
rule
The placement rule that the placement group is implementing.protected Long
ruleId
The associated unique ID of the placement group's rule.protected boolean
ruleIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description PlacementGroup()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account that the placement group is implemented on.
-
backendRouter
@ApiProperty protected Backend backendRouter
The router the placement group is implemented on.
-
guests
@ApiProperty protected List<Guest> guests
The virtual guests that are members of the placement group.
-
rule
@ApiProperty protected Rule rule
The placement rule that the placement group is implementing.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The unique ID of the account that created the placement group.
-
accountIdSpecified
protected boolean accountIdSpecified
-
backendRouterId
@ApiProperty(canBeNullOrNotSet=true) protected Long backendRouterId
The placement group's backend router's associated unique ID.
-
backendRouterIdSpecified
protected boolean backendRouterIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The placement group's date of creation.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The placement group's associated unique ID.
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The placement group's date of most recent modification.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The placement group's name.
-
nameSpecified
protected boolean nameSpecified
-
ruleId
@ApiProperty(canBeNullOrNotSet=true) protected Long ruleId
The associated unique ID of the placement group's rule.
-
ruleIdSpecified
protected boolean ruleIdSpecified
-
guestCount
@ApiProperty protected Long guestCount
A count of the virtual guests that are members of the placement group.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getBackendRouter
public Backend getBackendRouter()
-
setBackendRouter
public void setBackendRouter(Backend backendRouter)
-
getRule
public Rule getRule()
-
setRule
public void setRule(Rule rule)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getBackendRouterId
public Long getBackendRouterId()
-
setBackendRouterId
public void setBackendRouterId(Long backendRouterId)
-
isBackendRouterIdSpecified
public boolean isBackendRouterIdSpecified()
-
unsetBackendRouterId
public void unsetBackendRouterId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
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()
-
getRuleId
public Long getRuleId()
-
setRuleId
public void setRuleId(Long ruleId)
-
isRuleIdSpecified
public boolean isRuleIdSpecified()
-
unsetRuleId
public void unsetRuleId()
-
getGuestCount
public Long getGuestCount()
-
setGuestCount
public void setGuestCount(Long guestCount)
-
asService
public PlacementGroup.Service asService(ApiClient client)
-
service
public static PlacementGroup.Service service(ApiClient client)
-
service
public static PlacementGroup.Service service(ApiClient client, Long id)
-
-