@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Category extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setCode(String code)
The category code for the support case.
code
- The category code for the support case.public String getCode()
The category code for the support case.
public Category withCode(String code)
The category code for the support case.
code
- The category code for the support case.public void setName(String name)
The category name for the support case.
name
- The category name for the support case.public String getName()
The category name for the support case.
public Category withName(String name)
The category name for the support case.
name
- The category name for the support case.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.