@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaqSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a frequently asked questions and answer contained in an index.
Constructor and Description |
---|
FaqSummary() |
Modifier and Type | Method and Description |
---|---|
FaqSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The UNIX datetime that the FAQ was added to the index.
|
String |
getId()
The unique identifier of the FAQ.
|
String |
getName()
The name that you assigned the FAQ when you created or updated the FAQ.
|
String |
getStatus()
The current status of the FAQ.
|
Date |
getUpdatedAt()
The UNIX datetime that the FAQ was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The UNIX datetime that the FAQ was added to the index.
|
void |
setId(String id)
The unique identifier of the FAQ.
|
void |
setName(String name)
The name that you assigned the FAQ when you created or updated the FAQ.
|
void |
setStatus(String status)
The current status of the FAQ.
|
void |
setUpdatedAt(Date updatedAt)
The UNIX datetime that the FAQ was last updated.
|
String |
toString()
Returns a string representation of this object.
|
FaqSummary |
withCreatedAt(Date createdAt)
The UNIX datetime that the FAQ was added to the index.
|
FaqSummary |
withId(String id)
The unique identifier of the FAQ.
|
FaqSummary |
withName(String name)
The name that you assigned the FAQ when you created or updated the FAQ.
|
FaqSummary |
withStatus(FaqStatus status)
The current status of the FAQ.
|
FaqSummary |
withStatus(String status)
The current status of the FAQ.
|
FaqSummary |
withUpdatedAt(Date updatedAt)
The UNIX datetime that the FAQ was last updated.
|
public void setId(String id)
The unique identifier of the FAQ.
id
- The unique identifier of the FAQ.public String getId()
The unique identifier of the FAQ.
public FaqSummary withId(String id)
The unique identifier of the FAQ.
id
- The unique identifier of the FAQ.public void setName(String name)
The name that you assigned the FAQ when you created or updated the FAQ.
name
- The name that you assigned the FAQ when you created or updated the FAQ.public String getName()
The name that you assigned the FAQ when you created or updated the FAQ.
public FaqSummary withName(String name)
The name that you assigned the FAQ when you created or updated the FAQ.
name
- The name that you assigned the FAQ when you created or updated the FAQ.public void setStatus(String status)
The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.
status
- The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.FaqStatus
public String getStatus()
The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.
ACTIVE
the FAQ is ready for use.FaqStatus
public FaqSummary withStatus(String status)
The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.
status
- The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.FaqStatus
public FaqSummary withStatus(FaqStatus status)
The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.
status
- The current status of the FAQ. When the status is ACTIVE
the FAQ is ready for use.FaqStatus
public void setCreatedAt(Date createdAt)
The UNIX datetime that the FAQ was added to the index.
createdAt
- The UNIX datetime that the FAQ was added to the index.public Date getCreatedAt()
The UNIX datetime that the FAQ was added to the index.
public FaqSummary withCreatedAt(Date createdAt)
The UNIX datetime that the FAQ was added to the index.
createdAt
- The UNIX datetime that the FAQ was added to the index.public void setUpdatedAt(Date updatedAt)
The UNIX datetime that the FAQ was last updated.
updatedAt
- The UNIX datetime that the FAQ was last updated.public Date getUpdatedAt()
The UNIX datetime that the FAQ was last updated.
public FaqSummary withUpdatedAt(Date updatedAt)
The UNIX datetime that the FAQ was last updated.
updatedAt
- The UNIX datetime that the FAQ was last updated.public String toString()
toString
in class Object
Object.toString()
public FaqSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.