Class DetachMachineRequest


  • public class DetachMachineRequest
    extends java.lang.Object
    REST API request type that requests that a machine be detached from the machine pool.
    See Also:
    CloudPoolRestApi#detachMachine(String, DetachMachineRequest)
    • Constructor Summary

      Constructors 
      Constructor Description
      DetachMachineRequest​(java.lang.String machineId, boolean decrementDesiredSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getMachineId()  
      int hashCode()  
      boolean isDecrementDesiredSize()
      Indicates if the desired size of the group should be decremented after terminating the machine.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DetachMachineRequest

        public DetachMachineRequest​(java.lang.String machineId,
                                    boolean decrementDesiredSize)
    • Method Detail

      • getMachineId

        public java.lang.String getMachineId()
      • isDecrementDesiredSize

        public boolean isDecrementDesiredSize()
        Indicates if the desired size of the group should be decremented after terminating the machine.
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object