Interface CreateComputationModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateComputationModelRequest.Builder,
,CreateComputationModelRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<CreateComputationModelRequest.Builder,
,CreateComputationModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateComputationModelRequest
-
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.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.A list of key-value pairs that contain metadata for the asset.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
-
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
CreateComputationModelRequest.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
CreateComputationModelRequest.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 CreateComputationModelRequest.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
CreateComputationModelRequest.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.
-
tags
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- Parameters:
tags
- A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateComputationModelRequest.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
CreateComputationModelRequest.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.
-