Interface PredictorSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictorSummary.Builder,
,PredictorSummary> SdkBuilder<PredictorSummary.Builder,
,PredictorSummary> SdkPojo
- Enclosing class:
PredictorSummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the model training task was created.datasetGroupArn
(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.isAutoPredictor
(Boolean isAutoPredictor) Whether AutoPredictor was used to create the predictor.lastModificationTime
(Instant lastModificationTime) The last time the resource was modified.If an error occurred, an informational message about the error.predictorArn
(String predictorArn) The ARN of the predictor.predictorName
(String predictorName) The name of the predictor.default PredictorSummary.Builder
referencePredictorSummary
(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary) A summary of the reference predictor used if the predictor was retrained or upgraded.referencePredictorSummary
(ReferencePredictorSummary referencePredictorSummary) A summary of the reference predictor used if the predictor was retrained or upgraded.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, sdkFields
-
Method Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaReferencePredictorSummary.builder()
.When the
Consumer
completes,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:
-
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 beACTIVE
before 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
Status
of the predictor must beACTIVE
before 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
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
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
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. -
ACTIVE
orCREATE_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. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-