public class Category extends Object implements Serializable
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 and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2014. All rights reserved.