Interface ComputationModelSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComputationModelSummary.Builder,
,ComputationModelSummary> SdkBuilder<ComputationModelSummary.Builder,
,ComputationModelSummary> SdkPojo
- Enclosing class:
ComputationModelSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the computation model, which has the following format.creationDate
(Instant creationDate) The model creation date, in Unix epoch time.description
(String description) The description of the computation model.The ID of the computation model.lastUpdateDate
(Instant lastUpdateDate) The time the model was last updated, in Unix epoch time.The name of the computation model.default ComputationModelSummary.Builder
status
(Consumer<ComputationModelStatus.Builder> status) The current status of the computation model.status
(ComputationModelStatus status) The current status of the computation model.The type of the computation model.type
(ComputationModelType type) The type of the computation model.The version of the computation model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
id
The ID of the computation model.
- Parameters:
id
- The ID of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the computation model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
- Parameters:
arn
- 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.
-
name
The name of the computation model.
- Parameters:
name
- The name of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the computation model.
- Parameters:
description
- The description of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the computation model.
- Parameters:
type
- The type of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the computation model.
- Parameters:
type
- The type of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The model creation date, in Unix epoch time.
- Parameters:
creationDate
- The model creation date, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
The time the model was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate
- The time the model was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the computation model.
- Parameters:
status
- The current status of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the computation model.
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 tostatus(ComputationModelStatus)
.- Parameters:
status
- 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:
-
version
The version of the computation model.
- Parameters:
version
- The version of the computation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-