Class CfnHumanTaskUiProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnHumanTaskUiProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHumanTaskUiProps>
- Enclosing interface:
CfnHumanTaskUiProps
@Stability(Stable)
public static final class CfnHumanTaskUiProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHumanTaskUiProps>
A builder for
CfnHumanTaskUiProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.humanTaskUiName(String humanTaskUiName) Sets the value ofCfnHumanTaskUiProps.getHumanTaskUiName()Sets the value ofCfnHumanTaskUiProps.getTags()uiTemplate(IResolvable uiTemplate) Sets the value ofCfnHumanTaskUiProps.getUiTemplate()uiTemplate(CfnHumanTaskUi.UiTemplateProperty uiTemplate) Sets the value ofCfnHumanTaskUiProps.getUiTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
humanTaskUiName
Sets the value ofCfnHumanTaskUiProps.getHumanTaskUiName()- Parameters:
humanTaskUiName- The name of the human task user interface. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnHumanTaskUiProps.getTags()- Parameters:
tags- An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface.- Returns:
this
-
uiTemplate
Sets the value ofCfnHumanTaskUiProps.getUiTemplate()- Parameters:
uiTemplate- The Liquid template for the worker user interface.- Returns:
this
-
uiTemplate
@Stability(Stable) public CfnHumanTaskUiProps.Builder uiTemplate(CfnHumanTaskUi.UiTemplateProperty uiTemplate) Sets the value ofCfnHumanTaskUiProps.getUiTemplate()- Parameters:
uiTemplate- The Liquid template for the worker user interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHumanTaskUiProps>- Returns:
- a new instance of
CfnHumanTaskUiProps - Throws:
NullPointerException- if any required attribute was not provided
-