@Generated(value="software.amazon.awssdk:codegen") public final class GetBatchPredictionResponse extends MachineLearningResponse implements ToCopyableBuilder<GetBatchPredictionResponse.Builder,GetBatchPredictionResponse>
Represents the output of a GetBatchPrediction operation and describes a BatchPrediction.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBatchPredictionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
batchPredictionDataSourceId()
The ID of the
DataSource that was used to create the BatchPrediction. |
String |
batchPredictionId()
An ID assigned to the
BatchPrediction at creation. |
static GetBatchPredictionResponse.Builder |
builder() |
Long |
computeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction, normalized and scaled on computation resources. |
Instant |
createdAt()
The time when the
BatchPrediction was created. |
String |
createdByIamUser()
The AWS user account that invoked the
BatchPrediction. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
finishedAt()
The epoch time when Amazon Machine Learning marked the
BatchPrediction as COMPLETED or
FAILED. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
Long |
invalidRecordCount()
The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction. |
Instant |
lastUpdatedAt()
The time of the most recent edit to
BatchPrediction. |
String |
logUri()
A link to the file that contains logs of the
CreateBatchPrediction operation. |
String |
message()
A description of the most recent details about processing the batch prediction request.
|
String |
mlModelId()
The ID of the
MLModel that generated predictions for the BatchPrediction request. |
String |
name()
A user-supplied name or description of the
BatchPrediction. |
String |
outputUri()
The location of an Amazon S3 bucket or directory to receive the operation results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBatchPredictionResponse.Builder> |
serializableBuilderClass() |
Instant |
startedAt()
The epoch time when Amazon Machine Learning marked the
BatchPrediction as INPROGRESS. |
EntityStatus |
status()
The status of the
BatchPrediction, which can be one of the following values: |
String |
statusAsString()
The status of the
BatchPrediction, which can be one of the following values: |
GetBatchPredictionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
totalRecordCount()
The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction. |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String batchPredictionId()
An ID assigned to the BatchPrediction at creation. This value should be identical to the value of
the BatchPredictionID in the request.
BatchPrediction at creation. This value should be identical to the
value of the BatchPredictionID in the request.public final String mlModelId()
The ID of the MLModel that generated predictions for the BatchPrediction request.
MLModel that generated predictions for the BatchPrediction
request.public final String batchPredictionDataSourceId()
The ID of the DataSource that was used to create the BatchPrediction.
DataSource that was used to create the BatchPrediction.public final String inputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public final String createdByIamUser()
The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root
account or an AWS Identity and Access Management (IAM) user account.
BatchPrediction. The account type can be either an AWS
root account or an AWS Identity and Access Management (IAM) user account.public final Instant createdAt()
The time when the BatchPrediction was created. The time is expressed in epoch time.
BatchPrediction was created. The time is expressed in epoch time.public final Instant lastUpdatedAt()
The time of the most recent edit to BatchPrediction. The time is expressed in epoch time.
BatchPrediction. The time is expressed in epoch time.public final String name()
A user-supplied name or description of the BatchPrediction.
BatchPrediction.public final EntityStatus status()
The status of the BatchPrediction, which can be one of the following values:
PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS - The batch predictions are in progress.
FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
COMPLETED - The batch prediction process completed successfully.
DELETED - The BatchPrediction is marked as deleted. It is not usable.
If the service returns an enum value that is not available in the current SDK version, status will
return EntityStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
BatchPrediction, which can be one of the following values:
PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS - The batch predictions are in progress.
FAILED - The request to perform a batch prediction did not run to completion. It is not
usable.
COMPLETED - The batch prediction process completed successfully.
DELETED - The BatchPrediction is marked as deleted. It is not usable.
EntityStatuspublic final String statusAsString()
The status of the BatchPrediction, which can be one of the following values:
PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS - The batch predictions are in progress.
FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
COMPLETED - The batch prediction process completed successfully.
DELETED - The BatchPrediction is marked as deleted. It is not usable.
If the service returns an enum value that is not available in the current SDK version, status will
return EntityStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
BatchPrediction, which can be one of the following values:
PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS - The batch predictions are in progress.
FAILED - The request to perform a batch prediction did not run to completion. It is not
usable.
COMPLETED - The batch prediction process completed successfully.
DELETED - The BatchPrediction is marked as deleted. It is not usable.
EntityStatuspublic final String outputUri()
The location of an Amazon S3 bucket or directory to receive the operation results.
public final String logUri()
A link to the file that contains logs of the CreateBatchPrediction operation.
CreateBatchPrediction operation.public final String message()
A description of the most recent details about processing the batch prediction request.
public final Long computeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction, normalized and scaled on computation resources. ComputeTime is only
available if the BatchPrediction is in the COMPLETED state.
BatchPrediction, normalized and scaled on computation resources. ComputeTime is
only available if the BatchPrediction is in the COMPLETED state.public final Instant finishedAt()
The epoch time when Amazon Machine Learning marked the BatchPrediction as COMPLETED or
FAILED. FinishedAt is only available when the BatchPrediction is in the
COMPLETED or FAILED state.
BatchPrediction as
COMPLETED or FAILED. FinishedAt is only available when the
BatchPrediction is in the COMPLETED or FAILED state.public final Instant startedAt()
The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS.
StartedAt isn't available if the BatchPrediction is in the PENDING state.
BatchPrediction as
INPROGRESS. StartedAt isn't available if the BatchPrediction is in
the PENDING state.public final Long totalRecordCount()
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction.
BatchPrediction.public final Long invalidRecordCount()
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction.
BatchPrediction.public GetBatchPredictionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBatchPredictionResponse.Builder,GetBatchPredictionResponse>toBuilder in class AwsResponsepublic static GetBatchPredictionResponse.Builder builder()
public static Class<? extends GetBatchPredictionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.