@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFaqResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFaqResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFaqResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the FAQ was created.
|
String |
getDescription()
The description of the FAQ that you provided when it was created.
|
String |
getErrorMessage()
If the
Status field is FAILED , the ErrorMessage field contains the reason
why the FAQ failed. |
String |
getFileFormat()
The file format used by the input files for the FAQ.
|
String |
getId()
The identifier of the FAQ.
|
String |
getIndexId()
The identifier of the index for the FAQ.
|
String |
getLanguageCode()
The code for a language.
|
String |
getName()
The name that you gave the FAQ when it was created.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for
the FAQ.
|
S3Path |
getS3Path() |
String |
getStatus()
The status of the FAQ.
|
Date |
getUpdatedAt()
The Unix timestamp when the FAQ was last updated.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the FAQ was created.
|
void |
setDescription(String description)
The description of the FAQ that you provided when it was created.
|
void |
setErrorMessage(String errorMessage)
If the
Status field is FAILED , the ErrorMessage field contains the reason
why the FAQ failed. |
void |
setFileFormat(String fileFormat)
The file format used by the input files for the FAQ.
|
void |
setId(String id)
The identifier of the FAQ.
|
void |
setIndexId(String indexId)
The identifier of the index for the FAQ.
|
void |
setLanguageCode(String languageCode)
The code for a language.
|
void |
setName(String name)
The name that you gave the FAQ when it was created.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for
the FAQ.
|
void |
setS3Path(S3Path s3Path) |
void |
setStatus(String status)
The 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.
|
DescribeFaqResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the FAQ was created.
|
DescribeFaqResult |
withDescription(String description)
The description of the FAQ that you provided when it was created.
|
DescribeFaqResult |
withErrorMessage(String errorMessage)
If the
Status field is FAILED , the ErrorMessage field contains the reason
why the FAQ failed. |
DescribeFaqResult |
withFileFormat(FaqFileFormat fileFormat)
The file format used by the input files for the FAQ.
|
DescribeFaqResult |
withFileFormat(String fileFormat)
The file format used by the input files for the FAQ.
|
DescribeFaqResult |
withId(String id)
The identifier of the FAQ.
|
DescribeFaqResult |
withIndexId(String indexId)
The identifier of the index for the FAQ.
|
DescribeFaqResult |
withLanguageCode(String languageCode)
The code for a language.
|
DescribeFaqResult |
withName(String name)
The name that you gave the FAQ when it was created.
|
DescribeFaqResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for
the FAQ.
|
DescribeFaqResult |
withS3Path(S3Path s3Path) |
DescribeFaqResult |
withStatus(FaqStatus status)
The status of the FAQ.
|
DescribeFaqResult |
withStatus(String status)
The status of the FAQ.
|
DescribeFaqResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the FAQ was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeFaqResult withId(String id)
The identifier of the FAQ.
id
- The identifier of the FAQ.public void setIndexId(String indexId)
The identifier of the index for the FAQ.
indexId
- The identifier of the index for the FAQ.public String getIndexId()
The identifier of the index for the FAQ.
public DescribeFaqResult withIndexId(String indexId)
The identifier of the index for the FAQ.
indexId
- The identifier of the index for the FAQ.public void setName(String name)
The name that you gave the FAQ when it was created.
name
- The name that you gave the FAQ when it was created.public String getName()
The name that you gave the FAQ when it was created.
public DescribeFaqResult withName(String name)
The name that you gave the FAQ when it was created.
name
- The name that you gave the FAQ when it was created.public void setDescription(String description)
The description of the FAQ that you provided when it was created.
description
- The description of the FAQ that you provided when it was created.public String getDescription()
The description of the FAQ that you provided when it was created.
public DescribeFaqResult withDescription(String description)
The description of the FAQ that you provided when it was created.
description
- The description of the FAQ that you provided when it was created.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 DescribeFaqResult 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 DescribeFaqResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the FAQ was last updated.
updatedAt
- The Unix timestamp when the FAQ was last updated.public void setS3Path(S3Path s3Path)
s3Path
- public S3Path getS3Path()
public DescribeFaqResult withS3Path(S3Path s3Path)
s3Path
- public void setStatus(String status)
The status of the FAQ. It is ready to use when the status is ACTIVE
.
status
- The status of the FAQ. It is ready to use when the status is ACTIVE
.FaqStatus
public String getStatus()
The status of the FAQ. It is ready to use when the status is ACTIVE
.
ACTIVE
.FaqStatus
public DescribeFaqResult withStatus(String status)
The status of the FAQ. It is ready to use when the status is ACTIVE
.
status
- The status of the FAQ. It is ready to use when the status is ACTIVE
.FaqStatus
public DescribeFaqResult withStatus(FaqStatus status)
The status of the FAQ. It is ready to use when the status is ACTIVE
.
status
- The status of the FAQ. It is ready to use when the status is ACTIVE
.FaqStatus
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
roleArn
- The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input
files for the FAQ.public String getRoleArn()
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
public DescribeFaqResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
roleArn
- The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input
files for the FAQ.public void setErrorMessage(String errorMessage)
If the Status
field is FAILED
, the ErrorMessage
field contains the reason
why the FAQ failed.
errorMessage
- If the Status
field is FAILED
, the ErrorMessage
field contains the
reason why the FAQ failed.public String getErrorMessage()
If the Status
field is FAILED
, the ErrorMessage
field contains the reason
why the FAQ failed.
Status
field is FAILED
, the ErrorMessage
field contains the
reason why the FAQ failed.public DescribeFaqResult withErrorMessage(String errorMessage)
If the Status
field is FAILED
, the ErrorMessage
field contains the reason
why the FAQ failed.
errorMessage
- If the Status
field is FAILED
, the ErrorMessage
field contains the
reason why the FAQ failed.public void setFileFormat(String fileFormat)
The file format used by the input files for the FAQ.
fileFormat
- The file format used by the input files for the FAQ.FaqFileFormat
public String getFileFormat()
The file format used by the input files for the FAQ.
FaqFileFormat
public DescribeFaqResult withFileFormat(String fileFormat)
The file format used by the input files for the FAQ.
fileFormat
- The file format used by the input files for the FAQ.FaqFileFormat
public DescribeFaqResult withFileFormat(FaqFileFormat fileFormat)
The file format used by the input files for the FAQ.
fileFormat
- The file format used by the input files for the FAQ.FaqFileFormat
public void setLanguageCode(String languageCode)
The code for a language. This shows a supported language for the FAQ document. 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. 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. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
public DescribeFaqResult withLanguageCode(String languageCode)
The code for a language. This shows a supported language for the FAQ document. 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. 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 DescribeFaqResult clone()