Class ReservedCapacityGroup

java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.virtual.ReservedCapacityGroup

@ApiType("SoftLayer_Virtual_ReservedCapacityGroup")
public class ReservedCapacityGroup
extends Entity
This data type presents the structure for a virtual reserved capacity group.
See Also:
SoftLayer_Virtual_ReservedCapacityGroup
  • Field Details

    • account

      @ApiProperty protected Account account
      The account that the reserved capacity group is implemented on.
    • availableInstances

      @ApiProperty protected List<Instance> availableInstances
      The instances available for guest provisions on this reserved capacity group.
    • backendRouter

      @ApiProperty protected Backend backendRouter
      The router the reserved capacity group is implemented on.
    • instances

      @ApiProperty protected List<Instance> instances
      The guest instances that are members of this reserved capacity group.
    • instancesCount

      @ApiProperty protected Long instancesCount
      The number of instances that are members of this reserved capacity group.
    • occupiedInstances

      @ApiProperty protected List<Instance> occupiedInstances
      The instances already occupied by a guest on this reserved capacity group.
    • accountId

      @ApiProperty(canBeNullOrNotSet=true) protected Long accountId
      The unique ID of the account that created the reserved capacity group.
    • accountIdSpecified

      protected boolean accountIdSpecified
    • backendRouterId

      @ApiProperty(canBeNullOrNotSet=true) protected Long backendRouterId
      The reserved capacity group's backend router's associated unique ID.
    • backendRouterIdSpecified

      protected boolean backendRouterIdSpecified
    • createDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
      The date that the reserved capacity group was created.
    • createDateSpecified

      protected boolean createDateSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      The reserved capacity group's associated unique ID.
    • idSpecified

      protected boolean idSpecified
    • modifyDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
      The date that the reserved capacity group was last modified.
    • modifyDateSpecified

      protected boolean modifyDateSpecified
    • name

      @ApiProperty(canBeNullOrNotSet=true) protected String name
      The reserved capacity group's name.
    • nameSpecified

      protected boolean nameSpecified
    • availableInstanceCount

      @ApiProperty protected Long availableInstanceCount
      A count of the instances available for guest provisions on this reserved capacity group.
    • instanceCount

      @ApiProperty protected Long instanceCount
      A count of the guest instances that are members of this reserved capacity group.
    • occupiedInstanceCount

      @ApiProperty protected Long occupiedInstanceCount
      A count of the instances already occupied by a guest on this reserved capacity group.
  • Constructor Details

    • ReservedCapacityGroup

      public ReservedCapacityGroup()
  • Method Details

    • getAccount

      public Account getAccount()
    • setAccount

      public void setAccount​(Account account)
    • getAvailableInstances

      public List<Instance> getAvailableInstances()
    • getBackendRouter

      public Backend getBackendRouter()
    • setBackendRouter

      public void setBackendRouter​(Backend backendRouter)
    • getInstances

      public List<Instance> getInstances()
    • getInstancesCount

      public Long getInstancesCount()
    • setInstancesCount

      public void setInstancesCount​(Long instancesCount)
    • getOccupiedInstances

      public List<Instance> getOccupiedInstances()
    • 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()
    • getAvailableInstanceCount

      public Long getAvailableInstanceCount()
    • setAvailableInstanceCount

      public void setAvailableInstanceCount​(Long availableInstanceCount)
    • getInstanceCount

      public Long getInstanceCount()
    • setInstanceCount

      public void setInstanceCount​(Long instanceCount)
    • getOccupiedInstanceCount

      public Long getOccupiedInstanceCount()
    • setOccupiedInstanceCount

      public void setOccupiedInstanceCount​(Long occupiedInstanceCount)
    • asService

      public ReservedCapacityGroup.Service asService​(ApiClient client)
    • service

      public static ReservedCapacityGroup.Service service​(ApiClient client)
    • service

      public static ReservedCapacityGroup.Service service​(ApiClient client, Long id)