Class Category
java.lang.Object
com.amazonaws.services.support.model.Category
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The category code for the support case.getName()
The category name for the support case.int
hashCode()
void
The category code for the support case.void
The category name for the support case.toString()
Returns a string representation of this object; useful for testing and debugging.The category code for the support case.The category name for the support case.
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
setCode
The category code for the support case.
- Parameters:
code
- The category code for the support case.
-
getCode
The category code for the support case.
- Returns:
- The category code for the support case.
-
withCode
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
The category name for the support case.
- Parameters:
name
- The category name for the support case.
-
getName
The category name for the support case.
- Returns:
- The category name for the support case.
-
withName
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-