@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, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
templateUri
- A URI template containing exactly one variable in ${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
public String getTemplateUri()
A URI template containing exactly one variable in ${variableName}
format. This can only be set for
EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
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, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
templateUri
- A URI template containing exactly one variable in ${variableName}
format. This can only be
set for EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, 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
Zendesk: id
, title
, updated_at
, or draft
The variable is replaced with the actual value for a piece of content when calling GetContent.
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.