Interface UpdateModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateModelRequest.Builder,
,UpdateModelRequest> LookoutEquipmentRequest.Builder
,SdkBuilder<UpdateModelRequest.Builder,
,UpdateModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateModelRequest
public static interface UpdateModelRequest.Builder
extends LookoutEquipmentRequest.Builder, SdkPojo, CopyableBuilder<UpdateModelRequest.Builder,UpdateModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateModelRequest.Builder
labelsInputConfiguration
(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.labelsInputConfiguration
(LabelsInputConfiguration labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.The name of the model to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the model to update.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.lookoutequipment.model.LookoutEquipmentRequest.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
-
modelName
The name of the model to update.
- Parameters:
modelName
- The name of the model to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
UpdateModelRequest.Builder labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.- Parameters:
labelsInputConfiguration
- The new value for the LabelsInputConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
default UpdateModelRequest.Builder labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object. This is a convenience method that creates an instance of theLabelsInputConfiguration.Builder
avoiding the need to create one manually viaLabelsInputConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelsInputConfiguration(LabelsInputConfiguration)
.- Parameters:
labelsInputConfiguration
- a consumer that will call methods onLabelsInputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the model to update.
- Parameters:
roleArn
- The ARN of the model to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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
UpdateModelRequest.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.
-