|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.support.model.SeverityLevel
public class SeverityLevel
A code and name pair that represent a severity level that can be applied to a support case.
Constructor Summary | |
---|---|
SeverityLevel()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCode()
One of four values: "low," "medium," "high," and "urgent". |
String |
getName()
The name of the severity level that corresponds to the severity level code. |
int |
hashCode()
|
void |
setCode(String code)
One of four values: "low," "medium," "high," and "urgent". |
void |
setName(String name)
The name of the severity level that corresponds to the severity level code. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SeverityLevel |
withCode(String code)
One of four values: "low," "medium," "high," and "urgent". |
SeverityLevel |
withName(String name)
The name of the severity level that corresponds to the severity level code. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SeverityLevel()
Method Detail |
---|
public String getCode()
SeverityLevel.name
.
SeverityLevel.name
.public void setCode(String code)
SeverityLevel.name
.
code
- One of four values: "low," "medium," "high," and "urgent". These
values correspond to response times returned to the caller in
SeverityLevel.name
.public SeverityLevel withCode(String code)
SeverityLevel.name
.
Returns a reference to this object so that method calls can be chained together.
code
- One of four values: "low," "medium," "high," and "urgent". These
values correspond to response times returned to the caller in
SeverityLevel.name
.
public String getName()
public void setName(String name)
name
- The name of the severity level that corresponds to the severity level
code.public SeverityLevel withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the severity level that corresponds to the severity level
code.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |