public class BatchPrediction extends Object implements Serializable, Cloneable
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
.
Constructor and Description |
---|
BatchPrediction() |
Modifier and Type | Method and Description |
---|---|
BatchPrediction |
clone() |
boolean |
equals(Object obj) |
String |
getBatchPredictionDataSourceId()
The ID of the
DataSource that points to the group of
observations to predict. |
String |
getBatchPredictionId()
The ID assigned to the
BatchPrediction at creation. |
Date |
getCreatedAt()
The time that the
BatchPrediction was created. |
String |
getCreatedByIamUser()
The AWS user account that invoked the
BatchPrediction . |
String |
getInputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
Date |
getLastUpdatedAt()
The time of the most recent edit to the
BatchPrediction . |
String |
getMessage()
A description of the most recent details about processing the batch
prediction request.
|
String |
getMLModelId()
The ID of the
MLModel that generated predictions for the
BatchPrediction request. |
String |
getName()
A user-supplied name or description of the
BatchPrediction . |
String |
getOutputUri()
The location of an Amazon S3 bucket or directory to receive the operation
results.
|
String |
getStatus()
The status of the
BatchPrediction . |
int |
hashCode() |
void |
setBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSource that points to the group of
observations to predict. |
void |
setBatchPredictionId(String batchPredictionId)
The ID assigned to the
BatchPrediction at creation. |
void |
setCreatedAt(Date createdAt)
The time that the
BatchPrediction was created. |
void |
setCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
void |
setInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
void |
setMessage(String message)
A description of the most recent details about processing the batch
prediction request.
|
void |
setMLModelId(String mLModelId)
The ID of the
MLModel that generated predictions for the
BatchPrediction request. |
void |
setName(String name)
A user-supplied name or description of the
BatchPrediction . |
void |
setOutputUri(String outputUri)
The location of an Amazon S3 bucket or directory to receive the operation
results.
|
void |
setStatus(EntityStatus status)
The status of the
BatchPrediction . |
void |
setStatus(String status)
The status of the
BatchPrediction . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchPrediction |
withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSource that points to the group of
observations to predict. |
BatchPrediction |
withBatchPredictionId(String batchPredictionId)
The ID assigned to the
BatchPrediction at creation. |
BatchPrediction |
withCreatedAt(Date createdAt)
The time that the
BatchPrediction was created. |
BatchPrediction |
withCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
BatchPrediction |
withInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
BatchPrediction |
withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
BatchPrediction |
withMessage(String message)
A description of the most recent details about processing the batch
prediction request.
|
BatchPrediction |
withMLModelId(String mLModelId)
The ID of the
MLModel that generated predictions for the
BatchPrediction request. |
BatchPrediction |
withName(String name)
A user-supplied name or description of the
BatchPrediction . |
BatchPrediction |
withOutputUri(String outputUri)
The location of an Amazon S3 bucket or directory to receive the operation
results.
|
BatchPrediction |
withStatus(EntityStatus status)
The status of the
BatchPrediction . |
BatchPrediction |
withStatus(String status)
The status of the
BatchPrediction . |
public void setBatchPredictionId(String batchPredictionId)
The ID assigned to the BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.
batchPredictionId
- The ID assigned to the BatchPrediction
at creation.
This value should be identical to the value of the
BatchPredictionID
in the request.public String getBatchPredictionId()
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 BatchPrediction withBatchPredictionId(String batchPredictionId)
The ID assigned to the BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.
batchPredictionId
- The ID assigned to the BatchPrediction
at creation.
This value should be identical to the value of the
BatchPredictionID
in the request.public void setMLModelId(String mLModelId)
The ID of the MLModel
that generated predictions for the
BatchPrediction
request.
mLModelId
- The ID of the MLModel
that generated predictions for
the BatchPrediction
request.public String getMLModelId()
The ID of the MLModel
that generated predictions for the
BatchPrediction
request.
MLModel
that generated predictions for
the BatchPrediction
request.public BatchPrediction withMLModelId(String mLModelId)
The ID of the MLModel
that generated predictions for the
BatchPrediction
request.
mLModelId
- The ID of the MLModel
that generated predictions for
the BatchPrediction
request.public void setBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the DataSource
that points to the group of
observations to predict.
batchPredictionDataSourceId
- The ID of the DataSource
that points to the group of
observations to predict.public String getBatchPredictionDataSourceId()
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 BatchPrediction withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the DataSource
that points to the group of
observations to predict.
batchPredictionDataSourceId
- The ID of the DataSource
that points to the group of
observations to predict.public void setInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
inputDataLocationS3
- The location of the data file or directory in Amazon Simple
Storage Service (Amazon S3).public String getInputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public BatchPrediction withInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
inputDataLocationS3
- The location of the data file or directory in Amazon Simple
Storage Service (Amazon S3).public void setCreatedByIamUser(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.
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.public String getCreatedByIamUser()
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 BatchPrediction withCreatedByIamUser(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.
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.public void setCreatedAt(Date createdAt)
The time that the BatchPrediction
was created. The time is
expressed in epoch time.
createdAt
- The time that the BatchPrediction
was created. The
time is expressed in epoch time.public Date getCreatedAt()
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 BatchPrediction withCreatedAt(Date createdAt)
The time that the BatchPrediction
was created. The time is
expressed in epoch time.
createdAt
- The time that the BatchPrediction
was created. The
time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the BatchPrediction
. The
time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the
BatchPrediction
. The time is expressed in epoch time.public Date getLastUpdatedAt()
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 BatchPrediction withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the BatchPrediction
. The
time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the
BatchPrediction
. The time is expressed in epoch time.public void setName(String name)
A user-supplied name or description of the BatchPrediction
.
name
- A user-supplied name or description of the
BatchPrediction
.public String getName()
A user-supplied name or description of the BatchPrediction
.
BatchPrediction
.public BatchPrediction withName(String name)
A user-supplied name or description of the BatchPrediction
.
name
- A user-supplied name or description of the
BatchPrediction
.public void setStatus(String 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.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.EntityStatus
public String getStatus()
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.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 BatchPrediction withStatus(String 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.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.EntityStatus
public void setStatus(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.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.EntityStatus
public BatchPrediction withStatus(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.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.EntityStatus
public void setOutputUri(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: ':',
'//', '/./', '/../'.
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:
':', '//', '/./', '/../'.public String getOutputUri()
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 BatchPrediction withOutputUri(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: ':',
'//', '/./', '/../'.
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:
':', '//', '/./', '/../'.public void setMessage(String message)
A description of the most recent details about processing the batch prediction request.
message
- A description of the most recent details about processing the
batch prediction request.public String getMessage()
A description of the most recent details about processing the batch prediction request.
public BatchPrediction withMessage(String message)
A description of the most recent details about processing the batch prediction request.
message
- A description of the most recent details about processing the
batch prediction request.public String toString()
toString
in class Object
Object.toString()
public BatchPrediction clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.