@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenderUiTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RenderUiTemplateResult() |
Modifier and Type | Method and Description |
---|---|
RenderUiTemplateResult |
clone() |
boolean |
equals(Object obj) |
List<RenderingError> |
getErrors()
A list of one or more
RenderingError objects if any were encountered while rendering the template. |
String |
getRenderedContent()
A Liquid template that renders the HTML for the worker UI.
|
int |
hashCode() |
void |
setErrors(Collection<RenderingError> errors)
A list of one or more
RenderingError objects if any were encountered while rendering the template. |
void |
setRenderedContent(String renderedContent)
A Liquid template that renders the HTML for the worker UI.
|
String |
toString()
Returns a string representation of this object.
|
RenderUiTemplateResult |
withErrors(Collection<RenderingError> errors)
A list of one or more
RenderingError objects if any were encountered while rendering the template. |
RenderUiTemplateResult |
withErrors(RenderingError... errors)
A list of one or more
RenderingError objects if any were encountered while rendering the template. |
RenderUiTemplateResult |
withRenderedContent(String renderedContent)
A Liquid template that renders the HTML for the worker UI.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRenderedContent(String renderedContent)
A Liquid template that renders the HTML for the worker UI.
renderedContent
- A Liquid template that renders the HTML for the worker UI.public String getRenderedContent()
A Liquid template that renders the HTML for the worker UI.
public RenderUiTemplateResult withRenderedContent(String renderedContent)
A Liquid template that renders the HTML for the worker UI.
renderedContent
- A Liquid template that renders the HTML for the worker UI.public List<RenderingError> getErrors()
A list of one or more RenderingError
objects if any were encountered while rendering the template.
If there were no errors, the list is empty.
RenderingError
objects if any were encountered while rendering the
template. If there were no errors, the list is empty.public void setErrors(Collection<RenderingError> errors)
A list of one or more RenderingError
objects if any were encountered while rendering the template.
If there were no errors, the list is empty.
errors
- A list of one or more RenderingError
objects if any were encountered while rendering the
template. If there were no errors, the list is empty.public RenderUiTemplateResult withErrors(RenderingError... errors)
A list of one or more RenderingError
objects if any were encountered while rendering the template.
If there were no errors, the list is empty.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of one or more RenderingError
objects if any were encountered while rendering the
template. If there were no errors, the list is empty.public RenderUiTemplateResult withErrors(Collection<RenderingError> errors)
A list of one or more RenderingError
objects if any were encountered while rendering the template.
If there were no errors, the list is empty.
errors
- A list of one or more RenderingError
objects if any were encountered while rendering the
template. If there were no errors, the list is empty.public String toString()
toString
in class Object
Object.toString()
public RenderUiTemplateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.