public class Category extends Object implements Serializable
JSON-formatted name/value pair that represents the name and category of problem selected from the DescribeServices response for each AWS service.
| Constructor and Description |
|---|
Category() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
Category code for the support case.
|
String |
getName()
Category name for the support case.
|
int |
hashCode() |
void |
setCode(String code)
Category code for the support case.
|
void |
setName(String name)
Category name for the support case.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Category |
withCode(String code)
Category code for the support case.
|
Category |
withName(String name)
Category name for the support case.
|
public String getCode()
public void setCode(String code)
code - 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 - Category code for the support case.public String getName()
public void setName(String name)
name - 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 - Category name for the support case.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.