Interface RenderUiTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RenderUiTemplateResponse.Builder,
,RenderUiTemplateResponse> SageMakerResponse.Builder
,SdkBuilder<RenderUiTemplateResponse.Builder,
,RenderUiTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RenderUiTemplateResponse
@Mutable
@NotThreadSafe
public static interface RenderUiTemplateResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<RenderUiTemplateResponse.Builder,RenderUiTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<RenderingError> errors) A list of one or moreRenderingError
objects if any were encountered while rendering the template.errors
(Consumer<RenderingError.Builder>... errors) A list of one or moreRenderingError
objects if any were encountered while rendering the template.errors
(RenderingError... errors) A list of one or moreRenderingError
objects if any were encountered while rendering the template.renderedContent
(String renderedContent) A Liquid template that renders the HTML for the worker UI.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
renderedContent
A Liquid template that renders the HTML for the worker UI.
- Parameters:
renderedContent
- A Liquid template that renders the HTML for the worker UI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
errors
- A list of one or moreRenderingError
objects if any were encountered while rendering the template. If there were no errors, the list is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
errors
- A list of one or moreRenderingError
objects if any were encountered while rendering the template. If there were no errors, the list is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of one or more
This is a convenience method that creates an instance of theRenderingError
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 viaRenderingError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<RenderingError>)
.- Parameters:
errors
- a consumer that will call methods onRenderingError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-