Interface UpdateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCasesRequest.Builder
,CopyableBuilder<UpdateTemplateRequest.Builder,
,UpdateTemplateRequest> SdkBuilder<UpdateTemplateRequest.Builder,
,UpdateTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A brief description of the template.The unique identifier of the Cases domain.default UpdateTemplateRequest.Builder
layoutConfiguration
(Consumer<LayoutConfiguration.Builder> layoutConfiguration) Configuration of layouts associated to the template.layoutConfiguration
(LayoutConfiguration layoutConfiguration) Configuration of layouts associated to the template.The name of the template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requiredFields
(Collection<RequiredField> requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.requiredFields
(Consumer<RequiredField.Builder>... requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.requiredFields
(RequiredField... requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.The status of the template.status
(TemplateStatus status) The status of the template.templateId
(String templateId) A unique identifier for the template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
description
A brief description of the template.
- Parameters:
description
- A brief description of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The unique identifier of the Cases domain.
- Parameters:
domainId
- The unique identifier of the Cases domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutConfiguration
Configuration of layouts associated to the template.
- Parameters:
layoutConfiguration
- Configuration of layouts associated to the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutConfiguration
default UpdateTemplateRequest.Builder layoutConfiguration(Consumer<LayoutConfiguration.Builder> layoutConfiguration) Configuration of layouts associated to the template.
This is a convenience method that creates an instance of theLayoutConfiguration.Builder
avoiding the need to create one manually viaLayoutConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolayoutConfiguration(LayoutConfiguration)
.- Parameters:
layoutConfiguration
- a consumer that will call methods onLayoutConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the template. It must be unique per domain.
- Parameters:
name
- The name of the template. It must be unique per domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.
- Parameters:
requiredFields
- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.
- Parameters:
requiredFields
- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.
This is a convenience method that creates an instance of theRequiredField.Builder
avoiding the need to create one manually viaRequiredField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequiredFields(List<RequiredField>)
.- Parameters:
requiredFields
- a consumer that will call methods onRequiredField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the template.
- Parameters:
status
- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the template.
- Parameters:
status
- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateId
A unique identifier for the template.
- Parameters:
templateId
- A unique identifier for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-