org.jclouds.softlayer.domain
Class PowerState
java.lang.Object
org.jclouds.softlayer.domain.PowerState
- All Implemented Interfaces:
- Comparable<PowerState>
public class PowerState
- extends Object
- implements Comparable<PowerState>
The power state class provides a common set of values for which a guest's power state will be presented in the SoftLayer API.
- Author:
- Jason King
- See Also:
PowerState
public PowerState(VirtualGuest.State keyName)
builder
public static PowerState.Builder builder()
compareTo
public int compareTo(PowerState arg0)
- Specified by:
compareTo
in interface Comparable<PowerState>
getKeyName
public VirtualGuest.State getKeyName()
- Maps onto
VirtualGuest.State
- Returns:
- The key name of a power state.
toBuilder
public PowerState.Builder toBuilder()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.