Class Category
- java.lang.Object
-
- com.amazonaws.services.support.model.Category
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Category extends Object implements Serializable, Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
clone()
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.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The category code for the support case.
- Parameters:
code
- The category code for the support case.
-
getCode
public String getCode()
The category code for the support case.
- Returns:
- The category code for the support case.
-
withCode
public Category withCode(String code)
The category code for the support case.
- Parameters:
code
- The category code for the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The category name for the support case.
- Parameters:
name
- The category name for the support case.
-
getName
public String getName()
The category name for the support case.
- Returns:
- The category name for the support case.
-
withName
public Category withName(String name)
The category name for the support case.
- Parameters:
name
- The category name for the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-