@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAdapterVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAdapterVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetAdapterVersionResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetAdapterVersionResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetAdapterVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getAdapterId()
A string containing a unique ID for the adapter version being retrieved.
|
String |
getAdapterVersion()
A string containing the adapter version that has been retrieved.
|
Date |
getCreationTime()
The time that the adapter version was created.
|
AdapterVersionDatasetConfig |
getDatasetConfig()
Specifies a dataset used to train a new adapter version.
|
List<AdapterVersionEvaluationMetric> |
getEvaluationMetrics()
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics
and adapter version.
|
List<String> |
getFeatureTypes()
List of the targeted feature types for the requested adapter version.
|
String |
getKMSKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key).
|
OutputConfig |
getOutputConfig() |
String |
getStatus()
The status of the adapter version that has been requested.
|
String |
getStatusMessage()
A message that describes the status of the requested adapter version.
|
Map<String,String> |
getTags()
A set of tags (key-value pairs) that are associated with the adapter version.
|
int |
hashCode() |
void |
setAdapterId(String adapterId)
A string containing a unique ID for the adapter version being retrieved.
|
void |
setAdapterVersion(String adapterVersion)
A string containing the adapter version that has been retrieved.
|
void |
setCreationTime(Date creationTime)
The time that the adapter version was created.
|
void |
setDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version.
|
void |
setEvaluationMetrics(Collection<AdapterVersionEvaluationMetric> evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics
and adapter version.
|
void |
setFeatureTypes(Collection<String> featureTypes)
List of the targeted feature types for the requested adapter version.
|
void |
setKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
void |
setOutputConfig(OutputConfig outputConfig) |
void |
setStatus(String status)
The status of the adapter version that has been requested.
|
void |
setStatusMessage(String statusMessage)
A message that describes the status of the requested adapter version.
|
void |
setTags(Map<String,String> tags)
A set of tags (key-value pairs) that are associated with the adapter version.
|
String |
toString()
Returns a string representation of this object.
|
GetAdapterVersionResult |
withAdapterId(String adapterId)
A string containing a unique ID for the adapter version being retrieved.
|
GetAdapterVersionResult |
withAdapterVersion(String adapterVersion)
A string containing the adapter version that has been retrieved.
|
GetAdapterVersionResult |
withCreationTime(Date creationTime)
The time that the adapter version was created.
|
GetAdapterVersionResult |
withDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version.
|
GetAdapterVersionResult |
withEvaluationMetrics(AdapterVersionEvaluationMetric... evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics
and adapter version.
|
GetAdapterVersionResult |
withEvaluationMetrics(Collection<AdapterVersionEvaluationMetric> evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics
and adapter version.
|
GetAdapterVersionResult |
withFeatureTypes(Collection<String> featureTypes)
List of the targeted feature types for the requested adapter version.
|
GetAdapterVersionResult |
withFeatureTypes(FeatureType... featureTypes)
List of the targeted feature types for the requested adapter version.
|
GetAdapterVersionResult |
withFeatureTypes(String... featureTypes)
List of the targeted feature types for the requested adapter version.
|
GetAdapterVersionResult |
withKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
GetAdapterVersionResult |
withOutputConfig(OutputConfig outputConfig) |
GetAdapterVersionResult |
withStatus(AdapterVersionStatus status)
The status of the adapter version that has been requested.
|
GetAdapterVersionResult |
withStatus(String status)
The status of the adapter version that has been requested.
|
GetAdapterVersionResult |
withStatusMessage(String statusMessage)
A message that describes the status of the requested adapter version.
|
GetAdapterVersionResult |
withTags(Map<String,String> tags)
A set of tags (key-value pairs) that are associated with the adapter version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAdapterId(String adapterId)
A string containing a unique ID for the adapter version being retrieved.
adapterId
- A string containing a unique ID for the adapter version being retrieved.public String getAdapterId()
A string containing a unique ID for the adapter version being retrieved.
public GetAdapterVersionResult withAdapterId(String adapterId)
A string containing a unique ID for the adapter version being retrieved.
adapterId
- A string containing a unique ID for the adapter version being retrieved.public void setAdapterVersion(String adapterVersion)
A string containing the adapter version that has been retrieved.
adapterVersion
- A string containing the adapter version that has been retrieved.public String getAdapterVersion()
A string containing the adapter version that has been retrieved.
public GetAdapterVersionResult withAdapterVersion(String adapterVersion)
A string containing the adapter version that has been retrieved.
adapterVersion
- A string containing the adapter version that has been retrieved.public void setCreationTime(Date creationTime)
The time that the adapter version was created.
creationTime
- The time that the adapter version was created.public Date getCreationTime()
The time that the adapter version was created.
public GetAdapterVersionResult withCreationTime(Date creationTime)
The time that the adapter version was created.
creationTime
- The time that the adapter version was created.public List<String> getFeatureTypes()
List of the targeted feature types for the requested adapter version.
FeatureType
public void setFeatureTypes(Collection<String> featureTypes)
List of the targeted feature types for the requested adapter version.
featureTypes
- List of the targeted feature types for the requested adapter version.FeatureType
public GetAdapterVersionResult withFeatureTypes(String... featureTypes)
List of the targeted feature types for the requested adapter version.
NOTE: This method appends the values to the existing list (if any). Use
setFeatureTypes(java.util.Collection)
or withFeatureTypes(java.util.Collection)
if you want to
override the existing values.
featureTypes
- List of the targeted feature types for the requested adapter version.FeatureType
public GetAdapterVersionResult withFeatureTypes(Collection<String> featureTypes)
List of the targeted feature types for the requested adapter version.
featureTypes
- List of the targeted feature types for the requested adapter version.FeatureType
public GetAdapterVersionResult withFeatureTypes(FeatureType... featureTypes)
List of the targeted feature types for the requested adapter version.
featureTypes
- List of the targeted feature types for the requested adapter version.FeatureType
public void setStatus(String status)
The status of the adapter version that has been requested.
status
- The status of the adapter version that has been requested.AdapterVersionStatus
public String getStatus()
The status of the adapter version that has been requested.
AdapterVersionStatus
public GetAdapterVersionResult withStatus(String status)
The status of the adapter version that has been requested.
status
- The status of the adapter version that has been requested.AdapterVersionStatus
public GetAdapterVersionResult withStatus(AdapterVersionStatus status)
The status of the adapter version that has been requested.
status
- The status of the adapter version that has been requested.AdapterVersionStatus
public void setStatusMessage(String statusMessage)
A message that describes the status of the requested adapter version.
statusMessage
- A message that describes the status of the requested adapter version.public String getStatusMessage()
A message that describes the status of the requested adapter version.
public GetAdapterVersionResult withStatusMessage(String statusMessage)
A message that describes the status of the requested adapter version.
statusMessage
- A message that describes the status of the requested adapter version.public void setDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
datasetConfig
- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.public AdapterVersionDatasetConfig getDatasetConfig()
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
public GetAdapterVersionResult withDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
datasetConfig
- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.public void setKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
kMSKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.public String getKMSKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
public GetAdapterVersionResult withKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
kMSKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.public void setOutputConfig(OutputConfig outputConfig)
outputConfig
- public OutputConfig getOutputConfig()
public GetAdapterVersionResult withOutputConfig(OutputConfig outputConfig)
outputConfig
- public List<AdapterVersionEvaluationMetric> getEvaluationMetrics()
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
public void setEvaluationMetrics(Collection<AdapterVersionEvaluationMetric> evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
evaluationMetrics
- The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline
metrics and adapter version.public GetAdapterVersionResult withEvaluationMetrics(AdapterVersionEvaluationMetric... evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
NOTE: This method appends the values to the existing list (if any). Use
setEvaluationMetrics(java.util.Collection)
or withEvaluationMetrics(java.util.Collection)
if
you want to override the existing values.
evaluationMetrics
- The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline
metrics and adapter version.public GetAdapterVersionResult withEvaluationMetrics(Collection<AdapterVersionEvaluationMetric> evaluationMetrics)
The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
evaluationMetrics
- The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline
metrics and adapter version.public Map<String,String> getTags()
A set of tags (key-value pairs) that are associated with the adapter version.
public void setTags(Map<String,String> tags)
A set of tags (key-value pairs) that are associated with the adapter version.
tags
- A set of tags (key-value pairs) that are associated with the adapter version.public GetAdapterVersionResult withTags(Map<String,String> tags)
A set of tags (key-value pairs) that are associated with the adapter version.
tags
- A set of tags (key-value pairs) that are associated with the adapter version.public GetAdapterVersionResult addTagsEntry(String key, String value)
public GetAdapterVersionResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetAdapterVersionResult clone()