@Generated(value="software.amazon.awssdk:codegen") public final class BatchPrediction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPrediction.Builder,BatchPrediction>
Represents the output of a GetBatchPrediction
operation.
The content consists of the detailed metadata, the status, and the data file information of a
Batch Prediction
.
Modifier and Type | Class and Description |
---|---|
static interface |
BatchPrediction.Builder |
Modifier and Type | Method and Description |
---|---|
String |
batchPredictionDataSourceId()
The ID of the
DataSource that points to the group of observations to predict. |
String |
batchPredictionId()
The ID assigned to the
BatchPrediction at creation. |
static BatchPrediction.Builder |
builder() |
Long |
computeTime()
Returns the value of the ComputeTime property for this object.
|
Instant |
createdAt()
The time that the
BatchPrediction was created. |
String |
createdByIamUser()
The AWS user account that invoked the
BatchPrediction . |
boolean |
equals(Object obj) |
Instant |
finishedAt()
Returns the value of the FinishedAt property for this object.
|
<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()
Returns the value of the InvalidRecordCount property for this object.
|
Instant |
lastUpdatedAt()
The time of the most recent edit to the
BatchPrediction . |
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 BatchPrediction.Builder> |
serializableBuilderClass() |
Instant |
startedAt()
Returns the value of the StartedAt property for this object.
|
EntityStatus |
status()
The status of the
BatchPrediction . |
String |
statusAsString()
The status of the
BatchPrediction . |
BatchPrediction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
totalRecordCount()
Returns the value of the TotalRecordCount property for this object.
|
copy
public String batchPredictionId()
The 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 points to the group of observations to predict.
DataSource
that points to the group of observations to predict.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 Instant createdAt()
The time that the BatchPrediction
was created. The time is expressed in epoch time.
BatchPrediction
was created. The time is expressed in epoch time.public Instant lastUpdatedAt()
The time of the most recent edit to the 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 EntityStatus status()
The status of the BatchPrediction
. This element can have one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a
batch of observations.INPROGRESS
- The process is underway.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
. This element can have one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate
predictions for a batch of observations.INPROGRESS
- The process is underway.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 statusAsString()
The status of the BatchPrediction
. This element can have one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a
batch of observations.INPROGRESS
- The process is underway.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
. This element can have one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate
predictions for a batch of observations.INPROGRESS
- The process is underway.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. The following substrings are
not allowed in the s3 key
portion of the outputURI
field: ':', '//', '/./', '/../'.
s3 key
portion of the outputURI
field: ':',
'//', '/./', '/../'.public String message()
A description of the most recent details about processing the batch prediction request.
public Long computeTime()
public Instant finishedAt()
public Instant startedAt()
public Long totalRecordCount()
public Long invalidRecordCount()
public BatchPrediction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BatchPrediction.Builder,BatchPrediction>
public static BatchPrediction.Builder builder()
public static Class<? extends BatchPrediction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.