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