ToCopyableBuilder<GetBatchPredictionResponse.Builder,GetBatchPredictionResponse>
@Generated("software.amazon.awssdk:codegen") public class GetBatchPredictionResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetBatchPredictionResponse.Builder,GetBatchPredictionResponse>
Represents the output of a GetBatchPrediction
operation and describes a BatchPrediction
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetBatchPredictionResponse.Builder |
Modifier and Type | Method | 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. |
Date |
createdAt() |
The time when the
BatchPrediction was created. |
String |
createdByIamUser() |
The AWS user account that invoked the
BatchPrediction . |
boolean |
equals(Object obj) |
|
Date |
finishedAt() |
The epoch time when Amazon Machine Learning marked the
BatchPrediction as COMPLETED or
FAILED . |
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 . |
Date |
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.
|
static Class<? extends GetBatchPredictionResponse.Builder> |
serializableBuilderClass() |
|
Date |
startedAt() |
The epoch time when Amazon Machine Learning marked the
BatchPrediction as INPROGRESS . |
String |
status() |
The status of the
BatchPrediction , which can be one of the following values: |
GetBatchPredictionResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Long |
totalRecordCount() |
The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction . |
setSdkHttpMetadata, setSdkResponseMetadata
public 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 String mlModelId()
The ID of the MLModel
that generated predictions for the BatchPrediction
request.
MLModel
that generated predictions for the BatchPrediction
request.public String batchPredictionDataSourceId()
The ID of the DataSource
that was used to create the BatchPrediction
.
DataSource
that was used to create the BatchPrediction
.public String inputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public 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 Date 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 Date 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 String name()
A user-supplied name or description of the BatchPrediction
.
BatchPrediction
.public String 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.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.EntityStatus
public String outputUri()
The location of an Amazon S3 bucket or directory to receive the operation results.
public String logUri()
A link to the file that contains logs of the CreateBatchPrediction
operation.
CreateBatchPrediction
operation.public String message()
A description of the most recent details about processing the batch prediction request.
public 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 Date 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 Date 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 Long totalRecordCount()
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction
.
BatchPrediction
.public Long invalidRecordCount()
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction
.
BatchPrediction
.public GetBatchPredictionResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetBatchPredictionResponse.Builder,GetBatchPredictionResponse>
public static GetBatchPredictionResponse.Builder builder()
public static Class<? extends GetBatchPredictionResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.