Class Policy


  • @ApiType("SoftLayer_Scale_Termination_Policy")
    public class Policy
    extends Entity
    A policy for automatic removal of members from a group. This policy determines which members are chosen first for removal. The values can be:


    * OLDEST - The oldest member is the next one removed.
    * NEWEST - The newest member is the next one removed.
    * CLOSEST_TO_NEXT_CHARGE - The member closest to the next charge is removed. This is helpful for billing because it
    will let you remove the member you have gotten the most out of. Note, this is usually closest to the next billing hour.

    See Also:
    SoftLayer_Scale_Termination_Policy
    • Constructor Detail

      • Policy

        public Policy()
    • Method Detail

      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getKeyName

        public String getKeyName()
      • setKeyName

        public void setKeyName​(String keyName)
      • isKeyNameSpecified

        public boolean isKeyNameSpecified()
      • unsetKeyName

        public void unsetKeyName()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • isNameSpecified

        public boolean isNameSpecified()
      • unsetName

        public void unsetName()