org.jclouds.softlayer.domain
Class PowerState
java.lang.Object
org.jclouds.softlayer.domain.PowerState
public class PowerState
- extends Object
The power state class provides a common set of values for which a guest's power state will be presented in the SoftLayer API.
- See Also:
PowerState
@ConstructorProperties(value="keyName")
public PowerState(VirtualGuest.State keyName)
builder
public static PowerState.Builder<?> builder()
toBuilder
public PowerState.Builder<?> toBuilder()
getKeyName
@Nullable
public VirtualGuest.State getKeyName()
- Maps onto
VirtualGuest.State
- Returns:
- The key name of a power state.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.