Interface RenderUiTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RenderUiTemplateRequest.Builder,,RenderUiTemplateRequest> SageMakerRequest.Builder,SdkBuilder<RenderUiTemplateRequest.Builder,,RenderUiTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RenderUiTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionhumanTaskUiArn(String humanTaskUiArn) TheHumanTaskUiArnof the worker UI that you want to render.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.default RenderUiTemplateRequest.Buildertask(Consumer<RenderableTask.Builder> task) ARenderableTaskobject containing a representative task to render.task(RenderableTask task) ARenderableTaskobject containing a representative task to render.default RenderUiTemplateRequest.BuilderuiTemplate(Consumer<UiTemplate.Builder> uiTemplate) ATemplateobject containing the worker UI template to render.uiTemplate(UiTemplate uiTemplate) ATemplateobject containing the worker UI template to render.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
uiTemplate
A
Templateobject containing the worker UI template to render.- Parameters:
uiTemplate- ATemplateobject containing the worker UI template to render.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uiTemplate
A
This is a convenience method that creates an instance of theTemplateobject containing the worker UI template to render.UiTemplate.Builderavoiding the need to create one manually viaUiTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touiTemplate(UiTemplate).- Parameters:
uiTemplate- a consumer that will call methods onUiTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
task
A
RenderableTaskobject containing a representative task to render.- Parameters:
task- ARenderableTaskobject containing a representative task to render.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
A
This is a convenience method that creates an instance of theRenderableTaskobject containing a representative task to render.RenderableTask.Builderavoiding the need to create one manually viaRenderableTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totask(RenderableTask).- Parameters:
task- a consumer that will call methods onRenderableTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
- Parameters:
roleArn- The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanTaskUiArn
The
HumanTaskUiArnof the worker UI that you want to render. Do not provide aHumanTaskUiArnif you use theUiTemplateparameter.See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
- Parameters:
humanTaskUiArn- TheHumanTaskUiArnof the worker UI that you want to render. Do not provide aHumanTaskUiArnif you use theUiTemplateparameter.See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RenderUiTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RenderUiTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-