Interface GetAdapterVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAdapterVersionResponse.Builder,
,GetAdapterVersionResponse> SdkBuilder<GetAdapterVersionResponse.Builder,
,GetAdapterVersionResponse> SdkPojo
,SdkResponse.Builder
,TextractResponse.Builder
- Enclosing class:
GetAdapterVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionA string containing a unique ID for the adapter version being retrieved.adapterVersion
(String adapterVersion) A string containing the adapter version that has been retrieved.creationTime
(Instant creationTime) The time that the adapter version was created.datasetConfig
(Consumer<AdapterVersionDatasetConfig.Builder> datasetConfig) Specifies a dataset used to train a new adapter version.datasetConfig
(AdapterVersionDatasetConfig datasetConfig) Specifies a dataset used to train a new adapter version.evaluationMetrics
(Collection<AdapterVersionEvaluationMetric> evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.evaluationMetrics
(Consumer<AdapterVersionEvaluationMetric.Builder>... evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.evaluationMetrics
(AdapterVersionEvaluationMetric... evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.featureTypes
(Collection<FeatureType> featureTypes) List of the targeted feature types for the requested adapter version.featureTypes
(FeatureType... featureTypes) List of the targeted feature types for the requested adapter version.featureTypesWithStrings
(String... featureTypes) List of the targeted feature types for the requested adapter version.featureTypesWithStrings
(Collection<String> featureTypes) List of the targeted feature types for the requested adapter version.The identifier for your AWS Key Management Service key (AWS KMS key).outputConfig
(Consumer<OutputConfig.Builder> outputConfig) Sets the value of the OutputConfig property for this object.outputConfig
(OutputConfig outputConfig) Sets the value of the OutputConfig property for this object.The status of the adapter version that has been requested.status
(AdapterVersionStatus status) The status of the adapter version that has been requested.statusMessage
(String statusMessage) A message that describes the status of the requested adapter version.A set of tags (key-value pairs) that are associated with the adapter version.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
adapterId
A string containing a unique ID for the adapter version being retrieved.
- Parameters:
adapterId
- A string containing a unique ID for the adapter version being retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adapterVersion
A string containing the adapter version that has been retrieved.
- Parameters:
adapterVersion
- A string containing the adapter version that has been retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that the adapter version was created.
- Parameters:
creationTime
- The time that the adapter version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureTypesWithStrings
List of the targeted feature types for the requested adapter version.
- Parameters:
featureTypes
- List of the targeted feature types for the requested adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureTypesWithStrings
List of the targeted feature types for the requested adapter version.
- Parameters:
featureTypes
- List of the targeted feature types for the requested adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureTypes
List of the targeted feature types for the requested adapter version.
- Parameters:
featureTypes
- List of the targeted feature types for the requested adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureTypes
List of the targeted feature types for the requested adapter version.
- Parameters:
featureTypes
- List of the targeted feature types for the requested adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the adapter version that has been requested.
- Parameters:
status
- The status of the adapter version that has been requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the adapter version that has been requested.
- Parameters:
status
- The status of the adapter version that has been requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message that describes the status of the requested adapter version.
- Parameters:
statusMessage
- A message that describes the status of the requested adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetConfig
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
- Parameters:
datasetConfig
- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetConfig
default GetAdapterVersionResponse.Builder datasetConfig(Consumer<AdapterVersionDatasetConfig.Builder> datasetConfig) Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
This is a convenience method that creates an instance of theAdapterVersionDatasetConfig.Builder
avoiding the need to create one manually viaAdapterVersionDatasetConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetConfig(AdapterVersionDatasetConfig)
.- Parameters:
datasetConfig
- a consumer that will call methods onAdapterVersionDatasetConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
- Parameters:
kmsKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
Sets the value of the OutputConfig property for this object.- Parameters:
outputConfig
- The new value for the OutputConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
Sets the value of the OutputConfig property for this object. This is a convenience method that creates an instance of theOutputConfig.Builder
avoiding the need to create one manually viaOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(OutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationMetrics
GetAdapterVersionResponse.Builder evaluationMetrics(Collection<AdapterVersionEvaluationMetric> evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
- Parameters:
evaluationMetrics
- The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
GetAdapterVersionResponse.Builder evaluationMetrics(AdapterVersionEvaluationMetric... evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
- Parameters:
evaluationMetrics
- The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
GetAdapterVersionResponse.Builder evaluationMetrics(Consumer<AdapterVersionEvaluationMetric.Builder>... evaluationMetrics) The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
This is a convenience method that creates an instance of theAdapterVersionEvaluationMetric.Builder
avoiding the need to create one manually viaAdapterVersionEvaluationMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationMetrics(List<AdapterVersionEvaluationMetric>)
.- Parameters:
evaluationMetrics
- a consumer that will call methods onAdapterVersionEvaluationMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A set of tags (key-value pairs) that are associated with the adapter version.
- Parameters:
tags
- A set of tags (key-value pairs) that are associated with the adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-