Interface PerformanceIssueDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PerformanceIssueDetails.Builder,
,PerformanceIssueDetails> SdkBuilder<PerformanceIssueDetails.Builder,
,PerformanceIssueDetails> SdkPojo
- Enclosing class:
PerformanceIssueDetails
@Mutable
@NotThreadSafe
public static interface PerformanceIssueDetails.Builder
extends SdkPojo, CopyableBuilder<PerformanceIssueDetails.Builder,PerformanceIssueDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe analysis of the performance issue.The time when the performance issue stopped.metrics
(Collection<Metric> metrics) The metrics that are relevant to the performance issue.metrics
(Consumer<Metric.Builder>... metrics) The metrics that are relevant to the performance issue.The metrics that are relevant to the performance issue.The time when the performance issue started.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
-
startTime
The time when the performance issue started.
- Parameters:
startTime
- The time when the performance issue started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time when the performance issue stopped.
- Parameters:
endTime
- The time when the performance issue stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics that are relevant to the performance issue.
- Parameters:
metrics
- The metrics that are relevant to the performance issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics that are relevant to the performance issue.
- Parameters:
metrics
- The metrics that are relevant to the performance issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics that are relevant to the performance issue.
This is a convenience method that creates an instance of theMetric.Builder
avoiding the need to create one manually viaMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(List<Metric>)
.- Parameters:
metrics
- a consumer that will call methods onMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysis
The analysis of the performance issue. The information might contain markdown.
- Parameters:
analysis
- The analysis of the performance issue. The information might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-