org.jclouds.softlayer.domain
Class PowerState

java.lang.Object
  extended by 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:

Nested Class Summary
static class PowerState.Builder<T extends PowerState.Builder<T>>
           
 
Constructor Summary
PowerState(VirtualGuest.State keyName)
           
 
Method Summary
static PowerState.Builder<?> builder()
           
 boolean equals(Object obj)
           
 VirtualGuest.State getKeyName()
          Maps onto VirtualGuest.State
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 PowerState.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PowerState

@ConstructorProperties(value="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 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.