Class DetachMachineRequest
- java.lang.Object
-
- com.elastisys.scale.cloudpool.api.restapi.types.DetachMachineRequest
-
public class DetachMachineRequest extends java.lang.ObjectREST 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 booleanequals(java.lang.Object obj)java.lang.StringgetMachineId()inthashCode()booleanisDecrementDesiredSize()Indicates if the desired size of the group should be decremented after terminating the machine.java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-