Interface DescribeComputationModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeComputationModelResponse.Builder,
,DescribeComputationModelResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeComputationModelResponse.Builder,
,DescribeComputationModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeComputationModelResponse
-
Method Summary
Modifier and TypeMethodDescriptionactionDefinitions
(Collection<ActionDefinition> actionDefinitions) The available actions for this computation model.actionDefinitions
(Consumer<ActionDefinition.Builder>... actionDefinitions) The available actions for this computation model.actionDefinitions
(ActionDefinition... actionDefinitions) The available actions for this computation model.computationModelArn
(String computationModelArn) The ARN of the computation model, which has the following format.computationModelConfiguration
(Consumer<ComputationModelConfiguration.Builder> computationModelConfiguration) The configuration for the computation model.computationModelConfiguration
(ComputationModelConfiguration computationModelConfiguration) The configuration for the computation model.computationModelCreationDate
(Instant computationModelCreationDate) The model creation date, in Unix epoch time.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.computationModelLastUpdateDate
(Instant computationModelLastUpdateDate) The date the model was last updated, in Unix epoch time.computationModelName
(String computationModelName) The name of the computation model.computationModelStatus
(Consumer<ComputationModelStatus.Builder> computationModelStatus) The current status of the asset model, which contains a state and an error message if any.computationModelStatus
(ComputationModelStatus computationModelStatus) The current status of the asset model, which contains a state and an error message if any.computationModelVersion
(String computationModelVersion) The version of the computation model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
computationModelArn
The ARN of the computation model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
- Parameters:
computationModelArn
- The ARN of the computation model, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
- 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
DescribeComputationModelResponse.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
DescribeComputationModelResponse.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 DescribeComputationModelResponse.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
DescribeComputationModelResponse.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.
-
computationModelCreationDate
DescribeComputationModelResponse.Builder computationModelCreationDate(Instant computationModelCreationDate) The model creation date, in Unix epoch time.
- Parameters:
computationModelCreationDate
- The model creation date, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelLastUpdateDate
DescribeComputationModelResponse.Builder computationModelLastUpdateDate(Instant computationModelLastUpdateDate) The date the model was last updated, in Unix epoch time.
- Parameters:
computationModelLastUpdateDate
- The date the model was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelStatus
DescribeComputationModelResponse.Builder computationModelStatus(ComputationModelStatus computationModelStatus) The current status of the asset model, which contains a state and an error message if any.
- Parameters:
computationModelStatus
- The current status of the asset model, which contains a state and an error message if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationModelStatus
default DescribeComputationModelResponse.Builder computationModelStatus(Consumer<ComputationModelStatus.Builder> computationModelStatus) The current status of the asset model, which contains a state and an error message if any.
This is a convenience method that creates an instance of theComputationModelStatus.Builder
avoiding the need to create one manually viaComputationModelStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputationModelStatus(ComputationModelStatus)
.- Parameters:
computationModelStatus
- a consumer that will call methods onComputationModelStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computationModelVersion
The version of the computation model.
- Parameters:
computationModelVersion
- The version of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinitions
DescribeComputationModelResponse.Builder actionDefinitions(Collection<ActionDefinition> actionDefinitions) The available actions for this computation model.
- Parameters:
actionDefinitions
- The available actions for this computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinitions
The available actions for this computation model.
- Parameters:
actionDefinitions
- The available actions for this computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinitions
DescribeComputationModelResponse.Builder actionDefinitions(Consumer<ActionDefinition.Builder>... actionDefinitions) The available actions for this computation model.
This is a convenience method that creates an instance of theActionDefinition.Builder
avoiding the need to create one manually viaActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionDefinitions(List<ActionDefinition>)
.- Parameters:
actionDefinitions
- a consumer that will call methods onActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-