@Generated(value="software.amazon.awssdk:codegen") public final class PredictorSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PredictorSummary.Builder,PredictorSummary>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PredictorSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PredictorSummary.Builder |
builder() |
Instant |
creationTime()
When the model training task was created.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isAutoPredictor()
Whether AutoPredictor was used to create the predictor.
|
Instant |
lastModificationTime()
The last time the resource was modified.
|
String |
message()
If an error occurred, an informational message about the error.
|
String |
predictorArn()
The ARN of the predictor.
|
String |
predictorName()
The name of the predictor.
|
ReferencePredictorSummary |
referencePredictorSummary()
A summary of the reference predictor used if the predictor was retrained or upgraded.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PredictorSummary.Builder> |
serializableBuilderClass() |
String |
status()
The status of the predictor.
|
PredictorSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String predictorArn()
The ARN of the predictor.
public final String predictorName()
The name of the predictor.
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
public final Boolean isAutoPredictor()
Whether AutoPredictor was used to create the predictor.
public final ReferencePredictorSummary referencePredictorSummary()
A summary of the reference predictor used if the predictor was retrained or upgraded.
public final 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.
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 final String message()
If an error occurred, an informational message about the error.
public final Instant creationTime()
When the model training task was created.
public final Instant 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PredictorSummary.Builder,PredictorSummary>public static PredictorSummary.Builder builder()
public static Class<? extends PredictorSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.