Interface GetAdapterVersionResponse.Builder

    • Method Detail

      • adapterId

        GetAdapterVersionResponse.Builder adapterId​(String 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

        GetAdapterVersionResponse.Builder adapterVersion​(String 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

        GetAdapterVersionResponse.Builder creationTime​(Instant 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

        GetAdapterVersionResponse.Builder featureTypesWithStrings​(Collection<String> 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.
      • featureTypesWithStrings

        GetAdapterVersionResponse.Builder featureTypesWithStrings​(String... 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

        GetAdapterVersionResponse.Builder featureTypes​(Collection<FeatureType> 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

        GetAdapterVersionResponse.Builder featureTypes​(FeatureType... 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.
      • statusMessage

        GetAdapterVersionResponse.Builder statusMessage​(String 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

        GetAdapterVersionResponse.Builder datasetConfig​(AdapterVersionDatasetConfig 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.
      • kmsKeyId

        GetAdapterVersionResponse.Builder kmsKeyId​(String 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

        GetAdapterVersionResponse.Builder outputConfig​(OutputConfig 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.
      • 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.
      • tags

        GetAdapterVersionResponse.Builder tags​(Map<String,​String> 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.