Class State
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.virtual.guest.power.State
@ApiType("SoftLayer_Virtual_Guest_Power_State") public class State extends Entity
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:
- SoftLayer_Virtual_Guest_Power_State
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
State.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
description
The description of a power stateprotected boolean
descriptionSpecified
protected String
keyName
The key name of a power stateprotected boolean
keyNameSpecified
protected String
name
The name of a power stateprotected boolean
nameSpecified
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
Modifier and Type Method Description String
getDescription()
String
getKeyName()
String
getName()
boolean
isDescriptionSpecified()
boolean
isKeyNameSpecified()
boolean
isNameSpecified()
void
setDescription(String description)
void
setKeyName(String keyName)
void
setName(String name)
void
unsetDescription()
void
unsetKeyName()
void
unsetName()
-
Field Details
-
description
The description of a power state -
descriptionSpecified
protected boolean descriptionSpecified -
keyName
The key name of a power state -
keyNameSpecified
protected boolean keyNameSpecified -
name
The name of a power state -
nameSpecified
protected boolean nameSpecified
-
-
Constructor Details
-
State
public State()
-
-
Method Details
-
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getKeyName
-
setKeyName
-
isKeyNameSpecified
public boolean isKeyNameSpecified() -
unsetKeyName
public void unsetKeyName() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName()
-