@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPrediction extends Object implements Serializable, Cloneable, StructuredPojo
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. |
Long |
getComputeTime() |
Date |
getCreatedAt()
The time that the
BatchPrediction was created. |
String |
getCreatedByIamUser()
The AWS user account that invoked the
BatchPrediction . |
Date |
getFinishedAt() |
String |
getInputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
Long |
getInvalidRecordCount() |
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.
|
Date |
getStartedAt() |
String |
getStatus()
The status of the
BatchPrediction . |
Long |
getTotalRecordCount() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setComputeTime(Long computeTime) |
void |
setCreatedAt(Date createdAt)
The time that the
BatchPrediction was created. |
void |
setCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
void |
setFinishedAt(Date finishedAt) |
void |
setInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
void |
setInvalidRecordCount(Long invalidRecordCount) |
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 |
setStartedAt(Date startedAt) |
void |
setStatus(EntityStatus status)
The status of the
BatchPrediction . |
void |
setStatus(String status)
The status of the
BatchPrediction . |
void |
setTotalRecordCount(Long totalRecordCount) |
String |
toString()
Returns a string representation of this object.
|
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 |
withComputeTime(Long computeTime) |
BatchPrediction |
withCreatedAt(Date createdAt)
The time that the
BatchPrediction was created. |
BatchPrediction |
withCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
BatchPrediction |
withFinishedAt(Date finishedAt) |
BatchPrediction |
withInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
BatchPrediction |
withInvalidRecordCount(Long invalidRecordCount) |
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 |
withStartedAt(Date startedAt) |
BatchPrediction |
withStatus(EntityStatus status)
The status of the
BatchPrediction . |
BatchPrediction |
withStatus(String status)
The status of the
BatchPrediction . |
BatchPrediction |
withTotalRecordCount(Long totalRecordCount) |
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 void setComputeTime(Long computeTime)
computeTime
- public Long getComputeTime()
public BatchPrediction withComputeTime(Long computeTime)
computeTime
- public void setFinishedAt(Date finishedAt)
finishedAt
- public Date getFinishedAt()
public BatchPrediction withFinishedAt(Date finishedAt)
finishedAt
- public void setStartedAt(Date startedAt)
startedAt
- public Date getStartedAt()
public BatchPrediction withStartedAt(Date startedAt)
startedAt
- public void setTotalRecordCount(Long totalRecordCount)
totalRecordCount
- public Long getTotalRecordCount()
public BatchPrediction withTotalRecordCount(Long totalRecordCount)
totalRecordCount
- public void setInvalidRecordCount(Long invalidRecordCount)
invalidRecordCount
- public Long getInvalidRecordCount()
public BatchPrediction withInvalidRecordCount(Long invalidRecordCount)
invalidRecordCount
- public String toString()
toString
in class Object
Object.toString()
public BatchPrediction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.