|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.support.model.Category
public class Category
A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.
Constructor Summary | |
---|---|
Category()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCode()
The category code for the support case. |
String |
getName()
The category name for the support case. |
int |
hashCode()
|
void |
setCode(String code)
The category code for the support case. |
void |
setName(String name)
The category name for the support case. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Category |
withCode(String code)
The category code for the support case. |
Category |
withName(String name)
The category name for the support case. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Category()
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- The category code for the support case.public Category withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The category code for the support case.
public String getName()
public void setName(String name)
name
- The category name for the support case.public Category withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The category name for the support case.
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 |