@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenderingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about how to render the content.
Constructor and Description |
---|
RenderingConfiguration() |
Modifier and Type | Method and Description |
---|---|
RenderingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getTemplateUri()
A URI template containing exactly one variable in
${variableName} format. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTemplateUri(String templateUri)
A URI template containing exactly one variable in
${variableName} format. |
String |
toString()
Returns a string representation of this object.
|
RenderingConfiguration |
withTemplateUri(String templateUri)
A URI template containing exactly one variable in
${variableName} format. |
public void setTemplateUri(String templateUri)
A URI template containing exactly one variable in ${variableName}
format. This can only be set for
EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
templateUri
- A URI template containing exactly one variable in ${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of
the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
public String getTemplateUri()
A URI template containing exactly one variable in ${variableName}
format. This can only be set for
EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of
the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
public RenderingConfiguration withTemplateUri(String templateUri)
A URI template containing exactly one variable in ${variableName}
format. This can only be set for
EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
templateUri
- A URI template containing exactly one variable in ${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce and ServiceNow, the variable must be one of
the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
, Title
,
PublishStatus
, or IsDeleted
ServiceNow: number
, short_description
, sys_mod_count
,
workflow_state
, or active
<p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
public String toString()
toString
in class Object
Object.toString()
public RenderingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.