public static interface RenderUiTemplateResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<RenderUiTemplateResponse.Builder,RenderUiTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
RenderUiTemplateResponse.Builder |
errors(Collection<RenderingError> errors)
A list of one or more
RenderingError objects if any were encountered while rendering the
template. |
RenderUiTemplateResponse.Builder |
errors(Consumer<RenderingError.Builder>... errors)
A list of one or more
RenderingError objects if any were encountered while rendering the
template. |
RenderUiTemplateResponse.Builder |
errors(RenderingError... errors)
A list of one or more
RenderingError objects if any were encountered while rendering the
template. |
RenderUiTemplateResponse.Builder |
renderedContent(String renderedContent)
A Liquid template that renders the HTML for the worker UI.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildRenderUiTemplateResponse.Builder renderedContent(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.RenderUiTemplateResponse.Builder errors(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.RenderUiTemplateResponse.Builder errors(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.RenderUiTemplateResponse.Builder errors(Consumer<RenderingError.Builder>... 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.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #errors(List) .errors - a consumer that will call methods on List.Builder #errors(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.