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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaComputationModelConfiguration.builder().When the
Consumercompletes,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
ComputationModelDataBindingValuereferenced by the variable.- Parameters:
computationModelDataBinding- The data binding for the computation model. Key is a variable name defined in configuration. Value is aComputationModelDataBindingValuereferenced 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-