Interface GetEvaluationFormValidationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<GetEvaluationFormValidationResponse.Builder,,GetEvaluationFormValidationResponse> SdkBuilder<GetEvaluationFormValidationResponse.Builder,,GetEvaluationFormValidationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEvaluationFormValidationResponse
-
Method Summary
Modifier and TypeMethodDescriptionevaluationFormId(String evaluationFormId) The unique identifier for the evaluation form.evaluationFormVersion(Integer evaluationFormVersion) A version of the evaluation form.failureReason(String failureReason) The reason the validation failed.findings(Collection<EvaluationFormValidationFinding> findings) A list of findings from the validation process.findings(Consumer<EvaluationFormValidationFinding.Builder>... findings) A list of findings from the validation process.findings(EvaluationFormValidationFinding... findings) A list of findings from the validation process.startedTime(Instant startedTime) The timestamp when the validation process was started.The current status of the validation process.status(EvaluationFormValidationStatus status) The current status of the validation process.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The current status of the validation process. Valid values:
IN_PROGRESS,COMPLETED,FAILED.- Parameters:
status- The current status of the validation process. Valid values:IN_PROGRESS,COMPLETED,FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the validation process. Valid values:
IN_PROGRESS,COMPLETED,FAILED.- Parameters:
status- The current status of the validation process. Valid values:IN_PROGRESS,COMPLETED,FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason the validation failed. This field is populated only when the status is
FAILED.- Parameters:
failureReason- The reason the validation failed. This field is populated only when the status isFAILED.- 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.
- Parameters:
evaluationFormVersion- A version of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedTime
The timestamp when the validation process was started.
- Parameters:
startedTime- The timestamp when the validation process was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
GetEvaluationFormValidationResponse.Builder findings(Collection<EvaluationFormValidationFinding> findings) A list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status is
COMPLETED.- Parameters:
findings- A list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status isCOMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
A list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status is
COMPLETED.- Parameters:
findings- A list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status isCOMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
GetEvaluationFormValidationResponse.Builder findings(Consumer<EvaluationFormValidationFinding.Builder>... findings) A list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status is
This is a convenience method that creates an instance of theCOMPLETED.EvaluationFormValidationFinding.Builderavoiding the need to create one manually viaEvaluationFormValidationFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<EvaluationFormValidationFinding>).- Parameters:
findings- a consumer that will call methods onEvaluationFormValidationFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-