@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictorSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the predictor properties that are used in the ListPredictors operation. To get the
complete set of properties, call the DescribePredictor operation, and provide the listed
PredictorArn
.
Constructor and Description |
---|
PredictorSummary() |
Modifier and Type | Method and Description |
---|---|
PredictorSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the model training task was created.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
|
Date |
getLastModificationTime()
The last time the resource was modified.
|
String |
getMessage()
If an error occurred, an informational message about the error.
|
String |
getPredictorArn()
The ARN of the predictor.
|
String |
getPredictorName()
The name of the predictor.
|
String |
getStatus()
The status of the predictor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the model training task was created.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
|
void |
setLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
void |
setMessage(String message)
If an error occurred, an informational message about the error.
|
void |
setPredictorArn(String predictorArn)
The ARN of the predictor.
|
void |
setPredictorName(String predictorName)
The name of the predictor.
|
void |
setStatus(String status)
The status of the predictor.
|
String |
toString()
Returns a string representation of this object.
|
PredictorSummary |
withCreationTime(Date creationTime)
When the model training task was created.
|
PredictorSummary |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
|
PredictorSummary |
withLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
PredictorSummary |
withMessage(String message)
If an error occurred, an informational message about the error.
|
PredictorSummary |
withPredictorArn(String predictorArn)
The ARN of the predictor.
|
PredictorSummary |
withPredictorName(String predictorName)
The name of the predictor.
|
PredictorSummary |
withStatus(String status)
The status of the predictor.
|
public void setPredictorArn(String predictorArn)
The ARN of the predictor.
predictorArn
- The ARN of the predictor.public String getPredictorArn()
The ARN of the predictor.
public PredictorSummary withPredictorArn(String predictorArn)
The ARN of the predictor.
predictorArn
- The ARN of the predictor.public void setPredictorName(String predictorName)
The name of the predictor.
predictorName
- The name of the predictor.public String getPredictorName()
The name of the predictor.
public PredictorSummary withPredictorName(String predictorName)
The name of the predictor.
predictorName
- The name of the predictor.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
public PredictorSummary withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.public void setStatus(String status)
The status of the predictor. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to create a
forecast.
status
- The status of the predictor. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to
create a forecast.
public String getStatus()
The status of the predictor. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to create a
forecast.
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to
create a forecast.
public PredictorSummary withStatus(String status)
The status of the predictor. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to create a
forecast.
status
- The status of the predictor. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
The Status
of the predictor must be ACTIVE
before you can use the predictor to
create a forecast.
public void setMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public String getMessage()
If an error occurred, an informational message about the error.
public PredictorSummary withMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public void setCreationTime(Date creationTime)
When the model training task was created.
creationTime
- When the model training task was created.public Date getCreationTime()
When the model training task was created.
public PredictorSummary withCreationTime(Date creationTime)
When the model training task was created.
creationTime
- When the model training task was created.public void setLastModificationTime(Date lastModificationTime)
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
lastModificationTime
- The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
public Date getLastModificationTime()
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
public PredictorSummary withLastModificationTime(Date lastModificationTime)
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
lastModificationTime
- The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
public String toString()
toString
in class Object
Object.toString()
public PredictorSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.