@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBatchPredictionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a GetBatchPrediction
operation and describes a BatchPrediction
.
Constructor and Description |
---|
GetBatchPredictionResult() |
Modifier and Type | Method and Description |
---|---|
GetBatchPredictionResult |
clone() |
boolean |
equals(Object obj) |
String |
getBatchPredictionDataSourceId()
The ID of the
DataSource that was used to create the BatchPrediction . |
String |
getBatchPredictionId()
An ID assigned to the
BatchPrediction at creation. |
Long |
getComputeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction , normalized and scaled on computation resources. |
Date |
getCreatedAt()
The time when the
BatchPrediction was created. |
String |
getCreatedByIamUser()
The AWS user account that invoked the
BatchPrediction . |
Date |
getFinishedAt()
The epoch time when Amazon Machine Learning marked the
BatchPrediction as COMPLETED or
FAILED . |
String |
getInputDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
Long |
getInvalidRecordCount()
The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction . |
Date |
getLastUpdatedAt()
The time of the most recent edit to
BatchPrediction . |
String |
getLogUri()
A link to the file that contains logs of the
CreateBatchPrediction operation. |
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()
The epoch time when Amazon Machine Learning marked the
BatchPrediction as INPROGRESS . |
String |
getStatus()
The status of the
BatchPrediction , which can be one of the following values: |
Long |
getTotalRecordCount()
The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction . |
int |
hashCode() |
void |
setBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSource that was used to create the BatchPrediction . |
void |
setBatchPredictionId(String batchPredictionId)
An ID assigned to the
BatchPrediction at creation. |
void |
setComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction , normalized and scaled on computation resources. |
void |
setCreatedAt(Date createdAt)
The time when the
BatchPrediction was created. |
void |
setCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
void |
setFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the
BatchPrediction as COMPLETED or
FAILED . |
void |
setInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
void |
setInvalidRecordCount(Long invalidRecordCount)
The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction . |
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to
BatchPrediction . |
void |
setLogUri(String logUri)
A link to the file that contains logs of the
CreateBatchPrediction operation. |
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)
The epoch time when Amazon Machine Learning marked the
BatchPrediction as INPROGRESS . |
void |
setStatus(EntityStatus status)
The status of the
BatchPrediction , which can be one of the following values: |
void |
setStatus(String status)
The status of the
BatchPrediction , which can be one of the following values: |
void |
setTotalRecordCount(Long totalRecordCount)
The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction . |
String |
toString()
Returns a string representation of this object.
|
GetBatchPredictionResult |
withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the
DataSource that was used to create the BatchPrediction . |
GetBatchPredictionResult |
withBatchPredictionId(String batchPredictionId)
An ID assigned to the
BatchPrediction at creation. |
GetBatchPredictionResult |
withComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction , normalized and scaled on computation resources. |
GetBatchPredictionResult |
withCreatedAt(Date createdAt)
The time when the
BatchPrediction was created. |
GetBatchPredictionResult |
withCreatedByIamUser(String createdByIamUser)
The AWS user account that invoked the
BatchPrediction . |
GetBatchPredictionResult |
withFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the
BatchPrediction as COMPLETED or
FAILED . |
GetBatchPredictionResult |
withInputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
GetBatchPredictionResult |
withInvalidRecordCount(Long invalidRecordCount)
The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction . |
GetBatchPredictionResult |
withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to
BatchPrediction . |
GetBatchPredictionResult |
withLogUri(String logUri)
A link to the file that contains logs of the
CreateBatchPrediction operation. |
GetBatchPredictionResult |
withMessage(String message)
A description of the most recent details about processing the batch prediction request.
|
GetBatchPredictionResult |
withMLModelId(String mLModelId)
The ID of the
MLModel that generated predictions for the BatchPrediction request. |
GetBatchPredictionResult |
withName(String name)
A user-supplied name or description of the
BatchPrediction . |
GetBatchPredictionResult |
withOutputUri(String outputUri)
The location of an Amazon S3 bucket or directory to receive the operation results.
|
GetBatchPredictionResult |
withStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the
BatchPrediction as INPROGRESS . |
GetBatchPredictionResult |
withStatus(EntityStatus status)
The status of the
BatchPrediction , which can be one of the following values: |
GetBatchPredictionResult |
withStatus(String status)
The status of the
BatchPrediction , which can be one of the following values: |
GetBatchPredictionResult |
withTotalRecordCount(Long totalRecordCount)
The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBatchPredictionId(String batchPredictionId)
An ID assigned to the BatchPrediction
at creation. This value should be identical to the value of
the BatchPredictionID
in the request.
batchPredictionId
- An ID assigned to the BatchPrediction
at creation. This value should be identical to the
value of the BatchPredictionID
in the request.public String getBatchPredictionId()
An 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 GetBatchPredictionResult withBatchPredictionId(String batchPredictionId)
An ID assigned to the BatchPrediction
at creation. This value should be identical to the value of
the BatchPredictionID
in the request.
batchPredictionId
- An 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 GetBatchPredictionResult 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 was used to create the BatchPrediction
.
batchPredictionDataSourceId
- The ID of the DataSource
that was used to create the BatchPrediction
.public String getBatchPredictionDataSourceId()
The ID of the DataSource
that was used to create the BatchPrediction
.
DataSource
that was used to create the BatchPrediction
.public GetBatchPredictionResult withBatchPredictionDataSourceId(String batchPredictionDataSourceId)
The ID of the DataSource
that was used to create the BatchPrediction
.
batchPredictionDataSourceId
- The ID of the DataSource
that was used to create the BatchPrediction
.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 GetBatchPredictionResult 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 GetBatchPredictionResult 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 when the BatchPrediction
was created. The time is expressed in epoch time.
createdAt
- The time when the BatchPrediction
was created. The time is expressed in epoch time.public Date getCreatedAt()
The time when the BatchPrediction
was created. The time is expressed in epoch time.
BatchPrediction
was created. The time is expressed in epoch time.public GetBatchPredictionResult withCreatedAt(Date createdAt)
The time when the BatchPrediction
was created. The time is expressed in epoch time.
createdAt
- The time when the BatchPrediction
was created. The time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to BatchPrediction
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to BatchPrediction
. The time is expressed in epoch time.public Date getLastUpdatedAt()
The time of the most recent edit to BatchPrediction
. The time is expressed in epoch time.
BatchPrediction
. The time is expressed in epoch time.public GetBatchPredictionResult withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to BatchPrediction
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to 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 GetBatchPredictionResult 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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS
- The batch predictions are in progress.
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 GetBatchPredictionResult withStatus(String status)
The status of the BatchPrediction
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS
- The batch predictions are in progress.
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 GetBatchPredictionResult withStatus(EntityStatus status)
The status of the BatchPrediction
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
INPROGRESS
- The batch predictions are in progress.
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
, which can be one of the following values:
PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch
predictions.
INPROGRESS
- The batch predictions are in progress.
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.
outputUri
- The location of an Amazon S3 bucket or directory to receive the operation results.public String getOutputUri()
The location of an Amazon S3 bucket or directory to receive the operation results.
public GetBatchPredictionResult withOutputUri(String outputUri)
The location of an Amazon S3 bucket or directory to receive the operation results.
outputUri
- The location of an Amazon S3 bucket or directory to receive the operation results.public void setLogUri(String logUri)
A link to the file that contains logs of the CreateBatchPrediction
operation.
logUri
- A link to the file that contains logs of the CreateBatchPrediction
operation.public String getLogUri()
A link to the file that contains logs of the CreateBatchPrediction
operation.
CreateBatchPrediction
operation.public GetBatchPredictionResult withLogUri(String logUri)
A link to the file that contains logs of the CreateBatchPrediction
operation.
logUri
- A link to the file that contains logs of the CreateBatchPrediction
operation.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 GetBatchPredictionResult 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)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is only
available if the BatchPrediction
is in the COMPLETED
state.
computeTime
- The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is
only available if the BatchPrediction
is in the COMPLETED
state.public Long getComputeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is only
available if the BatchPrediction
is in the COMPLETED
state.
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is
only available if the BatchPrediction
is in the COMPLETED
state.public GetBatchPredictionResult withComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is only
available if the BatchPrediction
is in the COMPLETED
state.
computeTime
- The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
BatchPrediction
, normalized and scaled on computation resources. ComputeTime
is
only available if the BatchPrediction
is in the COMPLETED
state.public void setFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the BatchPrediction
as COMPLETED
or
FAILED
. FinishedAt
is only available when the BatchPrediction
is in the
COMPLETED
or FAILED
state.
finishedAt
- The epoch time when Amazon Machine Learning marked the BatchPrediction
as
COMPLETED
or FAILED
. FinishedAt
is only available when the
BatchPrediction
is in the COMPLETED
or FAILED
state.public Date getFinishedAt()
The epoch time when Amazon Machine Learning marked the BatchPrediction
as COMPLETED
or
FAILED
. FinishedAt
is only available when the BatchPrediction
is in the
COMPLETED
or FAILED
state.
BatchPrediction
as
COMPLETED
or FAILED
. FinishedAt
is only available when the
BatchPrediction
is in the COMPLETED
or FAILED
state.public GetBatchPredictionResult withFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the BatchPrediction
as COMPLETED
or
FAILED
. FinishedAt
is only available when the BatchPrediction
is in the
COMPLETED
or FAILED
state.
finishedAt
- The epoch time when Amazon Machine Learning marked the BatchPrediction
as
COMPLETED
or FAILED
. FinishedAt
is only available when the
BatchPrediction
is in the COMPLETED
or FAILED
state.public void setStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS
.
StartedAt
isn't available if the BatchPrediction
is in the PENDING
state.
startedAt
- The epoch time when Amazon Machine Learning marked the BatchPrediction
as
INPROGRESS
. StartedAt
isn't available if the BatchPrediction
is in
the PENDING
state.public Date getStartedAt()
The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS
.
StartedAt
isn't available if the BatchPrediction
is in the PENDING
state.
BatchPrediction
as
INPROGRESS
. StartedAt
isn't available if the BatchPrediction
is in
the PENDING
state.public GetBatchPredictionResult withStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS
.
StartedAt
isn't available if the BatchPrediction
is in the PENDING
state.
startedAt
- The epoch time when Amazon Machine Learning marked the BatchPrediction
as
INPROGRESS
. StartedAt
isn't available if the BatchPrediction
is in
the PENDING
state.public void setTotalRecordCount(Long totalRecordCount)
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction
.
totalRecordCount
- The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction
.public Long getTotalRecordCount()
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction
.
BatchPrediction
.public GetBatchPredictionResult withTotalRecordCount(Long totalRecordCount)
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction
.
totalRecordCount
- The number of total records that Amazon Machine Learning saw while processing the
BatchPrediction
.public void setInvalidRecordCount(Long invalidRecordCount)
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction
.
invalidRecordCount
- The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction
.public Long getInvalidRecordCount()
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction
.
BatchPrediction
.public GetBatchPredictionResult withInvalidRecordCount(Long invalidRecordCount)
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction
.
invalidRecordCount
- The number of invalid records that Amazon Machine Learning saw while processing the
BatchPrediction
.public String toString()
toString
in class Object
Object.toString()
public GetBatchPredictionResult clone()