@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Category extends Object implements Serializable, Cloneable, StructuredPojo
A category used to classify and filter library items for Amazon Q Apps.
Constructor and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
Category |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier of the category.
|
String |
getTitle()
The title or name of the category.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The unique identifier of the category.
|
void |
setTitle(String title)
The title or name of the category.
|
String |
toString()
Returns a string representation of this object.
|
Category |
withId(String id)
The unique identifier of the category.
|
Category |
withTitle(String title)
The title or name of the category.
|
public void setId(String id)
The unique identifier of the category.
id
- The unique identifier of the category.public String getId()
The unique identifier of the category.
public Category withId(String id)
The unique identifier of the category.
id
- The unique identifier of the category.public void setTitle(String title)
The title or name of the category.
title
- The title or name of the category.public String getTitle()
The title or name of the category.
public Category withTitle(String title)
The title or name of the category.
title
- The title or name of the category.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.