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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
The description of a power state
-
descriptionSpecified
protected boolean descriptionSpecified
-
keyName
@ApiProperty(canBeNullOrNotSet=true) protected String keyName
The key name of a power state
-
keyNameSpecified
protected boolean keyNameSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The name of a power state
-
nameSpecified
protected boolean nameSpecified
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getKeyName
public String getKeyName()
-
setKeyName
public void setKeyName(String keyName)
-
isKeyNameSpecified
public boolean isKeyNameSpecified()
-
unsetKeyName
public void unsetKeyName()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
-