Interface PredictRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PredictRequest.Builder,
,PredictRequest> MachineLearningRequest.Builder
,SdkBuilder<PredictRequest.Builder,
,PredictRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PredictRequest
public static interface PredictRequest.Builder
extends MachineLearningRequest.Builder, SdkPojo, CopyableBuilder<PredictRequest.Builder,PredictRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of theMLModel
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.predictEndpoint
(String predictEndpoint) Sets the value of the PredictEndpoint property for this object.Sets the value of the Record property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningRequest.Builder
build
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
-
mlModelId
A unique identifier of the
MLModel
.- Parameters:
mlModelId
- A unique identifier of theMLModel
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
record
Sets the value of the Record property for this object.- Parameters:
record
- The new value for the Record property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictEndpoint
Sets the value of the PredictEndpoint property for this object.- Parameters:
predictEndpoint
- The new value for the PredictEndpoint property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PredictRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-