Class BatchPrediction
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.BatchPrediction
-
- All Implemented Interfaces:
Serializable,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchPrediction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchPredictionclone()booleanequals(Object obj)StringgetBatchPredictionDataSourceId()The ID of theDataSourcethat points to the group of observations to predict.StringgetBatchPredictionId()The ID assigned to theBatchPredictionat creation.DategetCreatedAt()The time that theBatchPredictionwas created.StringgetCreatedByIamUser()The AWS user account that invoked theBatchPrediction.StringgetInputDataLocationS3()The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).DategetLastUpdatedAt()The time of the most recent edit to theBatchPrediction.StringgetMessage()A description of the most recent details about processing the batch prediction request.StringgetMLModelId()The ID of theMLModelthat generated predictions for theBatchPredictionrequest.StringgetName()A user-supplied name or description of theBatchPrediction.StringgetOutputUri()The location of an Amazon S3 bucket or directory to receive the operation results.StringgetStatus()The status of theBatchPrediction.inthashCode()voidsetBatchPredictionDataSourceId(String batchPredictionDataSourceId)The ID of theDataSourcethat points to the group of observations to predict.voidsetBatchPredictionId(String batchPredictionId)The ID assigned to theBatchPredictionat creation.voidsetCreatedAt(Date createdAt)The time that theBatchPredictionwas created.voidsetCreatedByIamUser(String createdByIamUser)The AWS user account that invoked theBatchPrediction.voidsetInputDataLocationS3(String inputDataLocationS3)The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).voidsetLastUpdatedAt(Date lastUpdatedAt)The time of the most recent edit to theBatchPrediction.voidsetMessage(String message)A description of the most recent details about processing the batch prediction request.voidsetMLModelId(String mLModelId)The ID of theMLModelthat generated predictions for theBatchPredictionrequest.voidsetName(String name)A user-supplied name or description of theBatchPrediction.voidsetOutputUri(String outputUri)The location of an Amazon S3 bucket or directory to receive the operation results.voidsetStatus(EntityStatus status)The status of theBatchPrediction.voidsetStatus(String status)The status of theBatchPrediction.StringtoString()Returns a string representation of this object; useful for testing and debugging.BatchPredictionwithBatchPredictionDataSourceId(String batchPredictionDataSourceId)The ID of theDataSourcethat points to the group of observations to predict.BatchPredictionwithBatchPredictionId(String batchPredictionId)The ID assigned to theBatchPredictionat creation.BatchPredictionwithCreatedAt(Date createdAt)The time that theBatchPredictionwas created.BatchPredictionwithCreatedByIamUser(String createdByIamUser)The AWS user account that invoked theBatchPrediction.BatchPredictionwithInputDataLocationS3(String inputDataLocationS3)The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).BatchPredictionwithLastUpdatedAt(Date lastUpdatedAt)The time of the most recent edit to theBatchPrediction.BatchPredictionwithMessage(String message)A description of the most recent details about processing the batch prediction request.BatchPredictionwithMLModelId(String mLModelId)The ID of theMLModelthat generated predictions for theBatchPredictionrequest.BatchPredictionwithName(String name)A user-supplied name or description of theBatchPrediction.BatchPredictionwithOutputUri(String outputUri)The location of an Amazon S3 bucket or directory to receive the operation results.BatchPredictionwithStatus(EntityStatus status)The status of theBatchPrediction.BatchPredictionwithStatus(String status)The status of theBatchPrediction.
-
-
-
Method Detail
-
setBatchPredictionId
public void setBatchPredictionId(String batchPredictionId)
The ID assigned to the
BatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.- Parameters:
batchPredictionId- The ID assigned to theBatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.
-
getBatchPredictionId
public String getBatchPredictionId()
The ID assigned to the
BatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.- Returns:
- The ID assigned to the
BatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.
-
withBatchPredictionId
public BatchPrediction withBatchPredictionId(String batchPredictionId)
The ID assigned to the
BatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.- Parameters:
batchPredictionId- The ID assigned to theBatchPredictionat creation. This value should be identical to the value of theBatchPredictionIDin the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMLModelId
public void setMLModelId(String mLModelId)
The ID of the
MLModelthat generated predictions for theBatchPredictionrequest.- Parameters:
mLModelId- The ID of theMLModelthat generated predictions for theBatchPredictionrequest.
-
getMLModelId
public String getMLModelId()
The ID of the
MLModelthat generated predictions for theBatchPredictionrequest.- Returns:
- The ID of the
MLModelthat generated predictions for theBatchPredictionrequest.
-
withMLModelId
public BatchPrediction withMLModelId(String mLModelId)
The ID of the
MLModelthat generated predictions for theBatchPredictionrequest.- Parameters:
mLModelId- The ID of theMLModelthat generated predictions for theBatchPredictionrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBatchPredictionDataSourceId
public void setBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSourcethat points to the group of observations to predict.- Parameters:
batchPredictionDataSourceId- The ID of theDataSourcethat points to the group of observations to predict.
-
getBatchPredictionDataSourceId
public String getBatchPredictionDataSourceId()
The ID of the
DataSourcethat points to the group of observations to predict.- Returns:
- The ID of the
DataSourcethat points to the group of observations to predict.
-
withBatchPredictionDataSourceId
public BatchPrediction withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSourcethat points to the group of observations to predict.- Parameters:
batchPredictionDataSourceId- The ID of theDataSourcethat points to the group of observations to predict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInputDataLocationS3
public void setInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Parameters:
inputDataLocationS3- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
-
getInputDataLocationS3
public String getInputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Returns:
- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
-
withInputDataLocationS3
public BatchPrediction withInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Parameters:
inputDataLocationS3- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedByIamUser
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.- Parameters:
createdByIamUser- The AWS user account that invoked theBatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
-
getCreatedByIamUser
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.- Returns:
- 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.
-
withCreatedByIamUser
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.- Parameters:
createdByIamUser- The AWS user account that invoked theBatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
public void setCreatedAt(Date createdAt)
The time that the
BatchPredictionwas created. The time is expressed in epoch time.- Parameters:
createdAt- The time that theBatchPredictionwas created. The time is expressed in epoch time.
-
getCreatedAt
public Date getCreatedAt()
The time that the
BatchPredictionwas created. The time is expressed in epoch time.- Returns:
- The time that the
BatchPredictionwas created. The time is expressed in epoch time.
-
withCreatedAt
public BatchPrediction withCreatedAt(Date createdAt)
The time that the
BatchPredictionwas created. The time is expressed in epoch time.- Parameters:
createdAt- The time that theBatchPredictionwas created. The time is expressed in epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUpdatedAt
public void setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction. The time is expressed in epoch time.- Parameters:
lastUpdatedAt- The time of the most recent edit to theBatchPrediction. The time is expressed in epoch time.
-
getLastUpdatedAt
public Date getLastUpdatedAt()
The time of the most recent edit to the
BatchPrediction. The time is expressed in epoch time.- Returns:
- The time of the most recent edit to the
BatchPrediction. The time is expressed in epoch time.
-
withLastUpdatedAt
public BatchPrediction withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction. The time is expressed in epoch time.- Parameters:
lastUpdatedAt- The time of the most recent edit to theBatchPrediction. The time is expressed in epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
A user-supplied name or description of the
BatchPrediction.- Parameters:
name- A user-supplied name or description of theBatchPrediction.
-
getName
public String getName()
A user-supplied name or description of the
BatchPrediction.- Returns:
- A user-supplied name or description of the
BatchPrediction.
-
withName
public BatchPrediction withName(String name)
A user-supplied name or description of the
BatchPrediction.- Parameters:
name- A user-supplied name or description of theBatchPrediction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
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 peform a batch prediction did not run to completion. It is not usable. -
COMPLETED- The batch prediction process completed successfully. -
DELETED- TheBatchPredictionis marked as deleted. It is not usable.
- Parameters:
status- The status of theBatchPrediction. 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- TheBatchPredictionis marked as deleted. It is not usable.
-
- See Also:
EntityStatus
-
-
getStatus
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 peform a batch prediction did not run to completion. It is not usable. -
COMPLETED- The batch prediction process completed successfully. -
DELETED- TheBatchPredictionis marked as deleted. It is not usable.
- Returns:
- 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- TheBatchPredictionis marked as deleted. It is not usable.
-
- See Also:
EntityStatus
-
-
withStatus
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 peform a batch prediction did not run to completion. It is not usable. -
COMPLETED- The batch prediction process completed successfully. -
DELETED- TheBatchPredictionis marked as deleted. It is not usable.
- Parameters:
status- The status of theBatchPrediction. 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- TheBatchPredictionis marked as deleted. It is not usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntityStatus
-
-
setStatus
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- TheBatchPredictionis marked as deleted. It is not usable.
- Parameters:
status- The status of theBatchPrediction. 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- TheBatchPredictionis marked as deleted. It is not usable.
-
- See Also:
EntityStatus
-
-
withStatus
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- TheBatchPredictionis marked as deleted. It is not usable.
- Parameters:
status- The status of theBatchPrediction. 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- TheBatchPredictionis marked as deleted. It is not usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntityStatus
-
-
setOutputUri
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: ':', '//', '/./', '/../'.
- Parameters:
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: ':', '//', '/./', '/../'.
-
getOutputUri
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: ':', '//', '/./', '/../'.
- Returns:
- 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: ':', '//', '/./', '/../'.
-
withOutputUri
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: ':', '//', '/./', '/../'.
- Parameters:
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: ':', '//', '/./', '/../'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
A description of the most recent details about processing the batch prediction request.
- Parameters:
message- A description of the most recent details about processing the batch prediction request.
-
getMessage
public String getMessage()
A description of the most recent details about processing the batch prediction request.
- Returns:
- A description of the most recent details about processing the batch prediction request.
-
withMessage
public BatchPrediction withMessage(String message)
A description of the most recent details about processing the batch prediction request.
- Parameters:
message- A description of the most recent details about processing the batch prediction request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchPrediction clone()
-
-