Interface EvaluationResolvedSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationResolvedSource.Builder,,EvaluationResolvedSource> SdkBuilder<EvaluationResolvedSource.Builder,,EvaluationResolvedSource> SdkPojo
- Enclosing class:
EvaluationResolvedSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluationResolvedSource.BuilderThe external source, such as contact data, evaluation metadata, form metadata, or AI metrics.The external source, such as contact data, evaluation metadata, form metadata, or AI metrics.The status of resolving the source.status(EvaluationItemResolutionStatus status) The status of resolving the source.The resolved values of the source.The resolved values of the source.values(EvaluationFormItemEnablementSourceValue... values) The resolved values of the source.Methods 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, sdkFields
-
Method Details
-
source
The external source, such as contact data, evaluation metadata, form metadata, or AI metrics.
- Parameters:
source- The external source, such as contact data, evaluation metadata, form metadata, or AI metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default EvaluationResolvedSource.Builder source(Consumer<EvaluationFormItemEnablementSource.Builder> source) The external source, such as contact data, evaluation metadata, form metadata, or AI metrics.
This is a convenience method that creates an instance of theEvaluationFormItemEnablementSource.Builderavoiding the need to create one manually viaEvaluationFormItemEnablementSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(EvaluationFormItemEnablementSource).- Parameters:
source- a consumer that will call methods onEvaluationFormItemEnablementSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of resolving the source. Valid values:
-
PENDING- The source has not been resolved yet. -
RESOLVED- The source has been resolved. -
FAILED- The source could not be resolved.
- Parameters:
status- The status of resolving the source. Valid values:-
PENDING- The source has not been resolved yet. -
RESOLVED- The source has been resolved. -
FAILED- The source could not be resolved.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of resolving the source. Valid values:
-
PENDING- The source has not been resolved yet. -
RESOLVED- The source has been resolved. -
FAILED- The source could not be resolved.
- Parameters:
status- The status of resolving the source. Valid values:-
PENDING- The source has not been resolved yet. -
RESOLVED- The source has been resolved. -
FAILED- The source could not be resolved.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
values
The resolved values of the source. Present when
StatusisRESOLVED. Contains one value for a single-valued source, any number of values for a multi-valued source, and no values when the source is not present on the contact.- Parameters:
values- The resolved values of the source. Present whenStatusisRESOLVED. Contains one value for a single-valued source, any number of values for a multi-valued source, and no values when the source is not present on the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The resolved values of the source. Present when
StatusisRESOLVED. Contains one value for a single-valued source, any number of values for a multi-valued source, and no values when the source is not present on the contact.- Parameters:
values- The resolved values of the source. Present whenStatusisRESOLVED. Contains one value for a single-valued source, any number of values for a multi-valued source, and no values when the source is not present on the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
EvaluationResolvedSource.Builder values(Consumer<EvaluationFormItemEnablementSourceValue.Builder>... values) The resolved values of the source. Present when
This is a convenience method that creates an instance of theStatusisRESOLVED. Contains one value for a single-valued source, any number of values for a multi-valued source, and no values when the source is not present on the contact.EvaluationFormItemEnablementSourceValue.Builderavoiding the need to create one manually viaEvaluationFormItemEnablementSourceValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<EvaluationFormItemEnablementSourceValue>).- Parameters:
values- a consumer that will call methods onEvaluationFormItemEnablementSourceValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-