Interface RenderUiTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RenderUiTemplateResponse.Builder,,RenderUiTemplateResponse> SageMakerResponse.Builder,SdkBuilder<RenderUiTemplateResponse.Builder,,RenderUiTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RenderUiTemplateResponse
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 moreRenderingErrorobjects if any were encountered while rendering the template.errors(Consumer<RenderingError.Builder>... errors) A list of one or moreRenderingErrorobjects if any were encountered while rendering the template.errors(RenderingError... errors) A list of one or moreRenderingErrorobjects 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
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
RenderingErrorobjects if any were encountered while rendering the template. If there were no errors, the list is empty.- Parameters:
errors- A list of one or moreRenderingErrorobjects 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
RenderingErrorobjects if any were encountered while rendering the template. If there were no errors, the list is empty.- Parameters:
errors- A list of one or moreRenderingErrorobjects 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 theRenderingErrorobjects if any were encountered while rendering the template. If there were no errors, the list is empty.RenderingError.Builderavoiding the need to create one manually viaRenderingError.builder().When the
Consumercompletes,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:
-