@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaqSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for frequently asked questions and answers included in an index.
Constructor and Description |
---|
FaqSummary() |
Modifier and Type | Method and Description |
---|---|
FaqSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the FAQ was created.
|
String |
getFileFormat()
The file type used to create the FAQ.
|
String |
getId()
The identifier of the FAQ.
|
String |
getLanguageCode()
The code for a language.
|
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 timestamp when 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 timestamp when the FAQ was created.
|
void |
setFileFormat(String fileFormat)
The file type used to create the FAQ.
|
void |
setId(String id)
The identifier of the FAQ.
|
void |
setLanguageCode(String languageCode)
The code for a language.
|
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 timestamp when the FAQ was last updated.
|
String |
toString()
Returns a string representation of this object.
|
FaqSummary |
withCreatedAt(Date createdAt)
The Unix timestamp when the FAQ was created.
|
FaqSummary |
withFileFormat(FaqFileFormat fileFormat)
The file type used to create the FAQ.
|
FaqSummary |
withFileFormat(String fileFormat)
The file type used to create the FAQ.
|
FaqSummary |
withId(String id)
The identifier of the FAQ.
|
FaqSummary |
withLanguageCode(String languageCode)
The code for a language.
|
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 timestamp when the FAQ was last updated.
|
public void setId(String id)
The identifier of the FAQ.
id
- The identifier of the FAQ.public String getId()
The identifier of the FAQ.
public FaqSummary withId(String id)
The identifier of the FAQ.
id
- The 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 timestamp when the FAQ was created.
createdAt
- The Unix timestamp when the FAQ was created.public Date getCreatedAt()
The Unix timestamp when the FAQ was created.
public FaqSummary withCreatedAt(Date createdAt)
The Unix timestamp when the FAQ was created.
createdAt
- The Unix timestamp when the FAQ was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the FAQ was last updated.
updatedAt
- The Unix timestamp when the FAQ was last updated.public Date getUpdatedAt()
The Unix timestamp when the FAQ was last updated.
public FaqSummary withUpdatedAt(Date updatedAt)
The Unix timestamp when the FAQ was last updated.
updatedAt
- The Unix timestamp when the FAQ was last updated.public void setFileFormat(String fileFormat)
The file type used to create the FAQ.
fileFormat
- The file type used to create the FAQ.FaqFileFormat
public String getFileFormat()
The file type used to create the FAQ.
FaqFileFormat
public FaqSummary withFileFormat(String fileFormat)
The file type used to create the FAQ.
fileFormat
- The file type used to create the FAQ.FaqFileFormat
public FaqSummary withFileFormat(FaqFileFormat fileFormat)
The file type used to create the FAQ.
fileFormat
- The file type used to create the FAQ.FaqFileFormat
public void setLanguageCode(String languageCode)
The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This shows a supported language for the FAQ document as part of the summary
information for FAQs. English is supported by default. For more information on supported languages,
including their codes, see Adding documents in languages
other than English.public String getLanguageCode()
The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
public FaqSummary withLanguageCode(String languageCode)
The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This shows a supported language for the FAQ document as part of the summary
information for FAQs. English is supported by default. For more information on supported languages,
including their codes, see Adding documents in languages
other than English.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.