Interface UpdateEvaluationFormRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<UpdateEvaluationFormRequest.Builder,
,UpdateEvaluationFormRequest> SdkBuilder<UpdateEvaluationFormRequest.Builder,
,UpdateEvaluationFormRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEvaluationFormRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.createNewVersion
(Boolean createNewVersion) A flag indicating whether the operation must create a new version.description
(String description) The description of the evaluation form.evaluationFormId
(String evaluationFormId) The unique identifier for the evaluation form.evaluationFormVersion
(Integer evaluationFormVersion) A version of the evaluation form to update.instanceId
(String instanceId) The identifier of the Amazon Connect instance.items
(Collection<EvaluationFormItem> items) Items that are part of the evaluation form.items
(Consumer<EvaluationFormItem.Builder>... items) Items that are part of the evaluation form.items
(EvaluationFormItem... items) Items that are part of the evaluation form.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scoringStrategy
(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy) A scoring strategy of the evaluation form.scoringStrategy
(EvaluationFormScoringStrategy scoringStrategy) A scoring strategy of the evaluation form.A title of the evaluation form.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFormId
The unique identifier for the evaluation form.
- Parameters:
evaluationFormId
- The unique identifier for the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFormVersion
A version of the evaluation form to update.
- Parameters:
evaluationFormVersion
- A version of the evaluation form to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createNewVersion
A flag indicating whether the operation must create a new version.
- Parameters:
createNewVersion
- A flag indicating whether the operation must create a new version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A title of the evaluation form.
- Parameters:
title
- A title of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the evaluation form.
- Parameters:
description
- The description of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- Parameters:
items
- Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- Parameters:
items
- Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
This is a convenience method that creates an instance of theEvaluationFormItem.Builder
avoiding the need to create one manually viaEvaluationFormItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<EvaluationFormItem>)
.- Parameters:
items
- a consumer that will call methods onEvaluationFormItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scoringStrategy
A scoring strategy of the evaluation form.
- Parameters:
scoringStrategy
- A scoring strategy of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scoringStrategy
default UpdateEvaluationFormRequest.Builder scoringStrategy(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy) A scoring strategy of the evaluation form.
This is a convenience method that creates an instance of theEvaluationFormScoringStrategy.Builder
avoiding the need to create one manually viaEvaluationFormScoringStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscoringStrategy(EvaluationFormScoringStrategy)
.- Parameters:
scoringStrategy
- a consumer that will call methods onEvaluationFormScoringStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateEvaluationFormRequest.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
UpdateEvaluationFormRequest.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.
-