public class BatchPrediction extends Object implements Serializable, 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 .
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 String getBatchPredictionId()
BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.public void setBatchPredictionId(String batchPredictionId)
BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
batchPredictionId
- The ID assigned to the BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.public BatchPrediction withBatchPredictionId(String batchPredictionId)
BatchPrediction
at creation. This
value should be identical to the value of the
BatchPredictionID
in the request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
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 getMLModelId()
MLModel
that generated predictions for the
BatchPrediction
request.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
MLModel
that generated predictions for the
BatchPrediction
request.public void setMLModelId(String mLModelId)
MLModel
that generated predictions for the
BatchPrediction
request.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
mLModelId
- The ID of the MLModel
that generated predictions for the
BatchPrediction
request.public BatchPrediction withMLModelId(String mLModelId)
MLModel
that generated predictions for the
BatchPrediction
request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
mLModelId
- The ID of the MLModel
that generated predictions for the
BatchPrediction
request.public String getBatchPredictionDataSourceId()
DataSource
that points to the group of
observations to predict.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
DataSource
that points to the group of
observations to predict.public void setBatchPredictionDataSourceId(String batchPredictionDataSourceId)
DataSource
that points to the group of
observations to predict.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
batchPredictionDataSourceId
- The ID of the DataSource
that points to the group of
observations to predict.public BatchPrediction withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
DataSource
that points to the group of
observations to predict.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
batchPredictionDataSourceId
- The ID of the DataSource
that points to the group of
observations to predict.public String getInputDataLocationS3()
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
public void setInputDataLocationS3(String inputDataLocationS3)
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
inputDataLocationS3
- The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).public BatchPrediction withInputDataLocationS3(String inputDataLocationS3)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
inputDataLocationS3
- The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).public String getCreatedByIamUser()
BatchPrediction
.
The account type can be either an AWS root account or an AWS Identity
and Access Management (IAM) user account.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
BatchPrediction
.
The account type can be either an AWS root account or an AWS Identity
and Access Management (IAM) user account.public void setCreatedByIamUser(String createdByIamUser)
BatchPrediction
.
The account type can be either an AWS root account or an AWS Identity
and Access Management (IAM) user account.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
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 BatchPrediction withCreatedByIamUser(String createdByIamUser)
BatchPrediction
.
The account type can be either an AWS root account or an AWS Identity
and Access Management (IAM) user account.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
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 Date getCreatedAt()
BatchPrediction
was created. The time
is expressed in epoch time.BatchPrediction
was created. The time
is expressed in epoch time.public void setCreatedAt(Date createdAt)
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 BatchPrediction withCreatedAt(Date createdAt)
BatchPrediction
was created. The time
is expressed in epoch time.
Returns a reference to this object so that method calls can be chained together.
createdAt
- The time that the BatchPrediction
was created. The time
is expressed in epoch time.public Date getLastUpdatedAt()
BatchPrediction
.
The time is expressed in epoch time.BatchPrediction
.
The time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
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 BatchPrediction withLastUpdatedAt(Date lastUpdatedAt)
BatchPrediction
.
The time is expressed in epoch time.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt
- The time of the most recent edit to the BatchPrediction
.
The time is expressed in epoch time.public String getName()
BatchPrediction
.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
BatchPrediction
.public void setName(String name)
BatchPrediction
.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
name
- A user-supplied name or description of the
BatchPrediction
.public BatchPrediction withName(String name)
BatchPrediction
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
name
- A user-supplied name or description of the
BatchPrediction
.public String getStatus()
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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(String status)
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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(String status)
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.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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)
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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)
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.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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 String getOutputUri()
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
public void setOutputUri(String outputUri)
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
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 BatchPrediction withOutputUri(String outputUri)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
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 getMessage()
Constraints:
Length: 0 - 10240
public void setMessage(String message)
Constraints:
Length: 0 - 10240
message
- A description of the most recent details about processing the batch
prediction request.public BatchPrediction withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10240
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 © 2015. All rights reserved.