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, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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.
RenderingError.Builder avoiding the need to create
one manually via RenderingError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #errors(List.
errors - a consumer that will call methods on
RenderingError.Builder#errors(java.util.Collection) Copyright © 2022. All rights reserved.