Package 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PowerState.Builder<T extends PowerState.Builder<T>>
-
Constructor Summary
Constructors Constructor Description PowerState(VirtualGuest.State keyName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PowerState.Builder<?>
builder()
boolean
equals(Object obj)
VirtualGuest.State
getKeyName()
Maps ontoVirtualGuest.State
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
PowerState.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
PowerState
@ConstructorProperties("keyName") public PowerState(VirtualGuest.State keyName)
-
-
Method Detail
-
builder
public static PowerState.Builder<?> builder()
-
toBuilder
public PowerState.Builder<?> toBuilder()
-
getKeyName
@Nullable public VirtualGuest.State getKeyName()
Maps ontoVirtualGuest.State
- Returns:
- The key name of a power state.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-