public class SeverityLevel extends Object implements Serializable
JSON-formatted pair of strings consisting of a code and name that represent a severity level that can be applied to a support case.
| Constructor and Description |
|---|
SeverityLevel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
String |
getName()
Name of severity levels that correspond to the severity level codes.
|
int |
hashCode() |
void |
setCode(String code)
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
void |
setName(String name)
Name of severity levels that correspond to the severity level codes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SeverityLevel |
withCode(String code)
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
SeverityLevel |
withName(String name)
Name of severity levels that correspond to the severity level codes.
|
public String getCode()
SeverityLevel.name.SeverityLevel.name.public void setCode(String code)
SeverityLevel.name.code - String that represents one of four values: "low," "medium," "high,"
and "urgent". These values correspond to response times returned to
the caller in the string SeverityLevel.name.public SeverityLevel withCode(String code)
SeverityLevel.name.
Returns a reference to this object so that method calls can be chained together.
code - String that represents one of four values: "low," "medium," "high,"
and "urgent". These values correspond to response times returned to
the caller in the string SeverityLevel.name.public String getName()
public void setName(String name)
name - Name of severity levels that correspond to the severity level codes.public SeverityLevel withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - Name of severity levels that correspond to the severity level codes.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.