Interface CalculationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CalculationSummary.Builder,
,CalculationSummary> SdkBuilder<CalculationSummary.Builder,
,CalculationSummary> SdkPojo
- Enclosing class:
CalculationSummary
@Mutable
@NotThreadSafe
public static interface CalculationSummary.Builder
extends SdkPojo, CopyableBuilder<CalculationSummary.Builder,CalculationSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncalculationExecutionId
(String calculationExecutionId) The calculation execution UUID.description
(String description) A description of the calculation.default CalculationSummary.Builder
status
(Consumer<CalculationStatus.Builder> status) Contains information about the status of the calculation.status
(CalculationStatus status) Contains information about the status of the calculation.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
-
calculationExecutionId
The calculation execution UUID.
- Parameters:
calculationExecutionId
- The calculation execution UUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the calculation.
- Parameters:
description
- A description of the calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the calculation.
- Parameters:
status
- Contains information about the status of the calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the calculation.
This is a convenience method that creates an instance of theCalculationStatus.Builder
avoiding the need to create one manually viaCalculationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(CalculationStatus)
.- Parameters:
status
- a consumer that will call methods onCalculationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-