Interface UpdateComputationModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateComputationModelRequest.Builder,
,UpdateComputationModelRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<UpdateComputationModelRequest.Builder,
,UpdateComputationModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateComputationModelRequest
@Mutable
@NotThreadSafe
public static interface UpdateComputationModelRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<UpdateComputationModelRequest.Builder,UpdateComputationModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.computationModelConfiguration
(Consumer<ComputationModelConfiguration.Builder> computationModelConfiguration) The configuration for the computation model.computationModelConfiguration
(ComputationModelConfiguration computationModelConfiguration) The configuration for the computation model.computationModelDataBinding
(Map<String, ComputationModelDataBindingValue> computationModelDataBinding) The data binding for the computation model.computationModelDescription
(String computationModelDescription) The description of the computation model.computationModelId
(String computationModelId) The ID of the computation model.computationModelName
(String computationModelName) The name of the computation model.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.iotsitewise.model.IoTSiteWiseRequest.Builder
build
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 Details
-
computationModelId
The ID of the computation model.
- Parameters:
computationModelId
- The ID of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelName
The name of the computation model.
- Parameters:
computationModelName
- The name of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelDescription
UpdateComputationModelRequest.Builder computationModelDescription(String computationModelDescription) The description of the computation model.
- Parameters:
computationModelDescription
- The description of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelConfiguration
UpdateComputationModelRequest.Builder computationModelConfiguration(ComputationModelConfiguration computationModelConfiguration) The configuration for the computation model.
- Parameters:
computationModelConfiguration
- The configuration for the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelConfiguration
default UpdateComputationModelRequest.Builder computationModelConfiguration(Consumer<ComputationModelConfiguration.Builder> computationModelConfiguration) The configuration for the computation model.
This is a convenience method that creates an instance of theComputationModelConfiguration.Builder
avoiding the need to create one manually viaComputationModelConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputationModelConfiguration(ComputationModelConfiguration)
.- Parameters:
computationModelConfiguration
- a consumer that will call methods onComputationModelConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computationModelDataBinding
UpdateComputationModelRequest.Builder computationModelDataBinding(Map<String, ComputationModelDataBindingValue> computationModelDataBinding) The data binding for the computation model. Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValue
referenced by the variable.- Parameters:
computationModelDataBinding
- The data binding for the computation model. Key is a variable name defined in configuration. Value is aComputationModelDataBindingValue
referenced by the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
- Parameters:
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateComputationModelRequest.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
UpdateComputationModelRequest.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.
-