Interface PredictorSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PredictorSummary.Builder,PredictorSummary>,SdkBuilder<PredictorSummary.Builder,PredictorSummary>,SdkPojo
- Enclosing class:
- PredictorSummary
public static interface PredictorSummary.Builder extends SdkPojo, CopyableBuilder<PredictorSummary.Builder,PredictorSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PredictorSummary.BuildercreationTime(Instant creationTime)When the model training task was created.PredictorSummary.BuilderdatasetGroupArn(String datasetGroupArn)The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.PredictorSummary.BuilderisAutoPredictor(Boolean isAutoPredictor)Whether AutoPredictor was used to create the predictor.PredictorSummary.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.PredictorSummary.Buildermessage(String message)If an error occurred, an informational message about the error.PredictorSummary.BuilderpredictorArn(String predictorArn)The ARN of the predictor.PredictorSummary.BuilderpredictorName(String predictorName)The name of the predictor.default PredictorSummary.BuilderreferencePredictorSummary(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary)A summary of the reference predictor used if the predictor was retrained or upgraded.PredictorSummary.BuilderreferencePredictorSummary(ReferencePredictorSummary referencePredictorSummary)A summary of the reference predictor used if the predictor was retrained or upgraded.PredictorSummary.Builderstatus(String status)The status of the predictor.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
predictorArn
PredictorSummary.Builder predictorArn(String predictorArn)
The ARN of the predictor.
- Parameters:
predictorArn- The ARN of the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorName
PredictorSummary.Builder predictorName(String predictorName)
The name of the predictor.
- Parameters:
predictorName- The name of the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroupArn
PredictorSummary.Builder datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
- Parameters:
datasetGroupArn- The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoPredictor
PredictorSummary.Builder isAutoPredictor(Boolean isAutoPredictor)
Whether AutoPredictor was used to create the predictor.
- Parameters:
isAutoPredictor- Whether AutoPredictor was used to create the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePredictorSummary
PredictorSummary.Builder referencePredictorSummary(ReferencePredictorSummary referencePredictorSummary)
A summary of the reference predictor used if the predictor was retrained or upgraded.
- Parameters:
referencePredictorSummary- A summary of the reference predictor used if the predictor was retrained or upgraded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePredictorSummary
default PredictorSummary.Builder referencePredictorSummary(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary)
A summary of the reference predictor used if the predictor was retrained or upgraded.
This is a convenience method that creates an instance of theReferencePredictorSummary.Builderavoiding the need to create one manually viaReferencePredictorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferencePredictorSummary(ReferencePredictorSummary).- Parameters:
referencePredictorSummary- a consumer that will call methods onReferencePredictorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
referencePredictorSummary(ReferencePredictorSummary)
-
status
PredictorSummary.Builder status(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
Statusof the predictor must beACTIVEbefore you can use the predictor to create a forecast.- Parameters:
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
Statusof the predictor must beACTIVEbefore you can use the predictor to create a forecast.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
PredictorSummary.Builder message(String message)
If an error occurred, an informational message about the error.
- Parameters:
message- If an error occurred, an informational message about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
PredictorSummary.Builder creationTime(Instant creationTime)
When the model training task was created.
- Parameters:
creationTime- When the model training task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
PredictorSummary.Builder lastModificationTime(Instant lastModificationTime)
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
- Parameters:
lastModificationTime- The last time the resource was modified. The timestamp depends on the status of the job:-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-