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.BuilderlayoutConfiguration(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLayoutConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRequiredField.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-