Interface AnalysisReport.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisReport.Builder,
,AnalysisReport> SdkBuilder<AnalysisReport.Builder,
,AnalysisReport> SdkPojo
- Enclosing class:
AnalysisReport
-
Method Summary
Modifier and TypeMethodDescriptionanalysisReportId
(String analysisReportId) The name of the analysis report.createTime
(Instant createTime) The time you created the analysis report.The analysis end time in the report.identifier
(String identifier) The unique identifier of the analysis report.insights
(Collection<Insight> insights) The list of identified insights in the analysis report.insights
(Consumer<Insight.Builder>... insights) The list of identified insights in the analysis report.The list of identified insights in the analysis report.serviceType
(String serviceType) List the tags for the Amazon Web Services service for which Performance Insights returns metrics.serviceType
(ServiceType serviceType) List the tags for the Amazon Web Services service for which Performance Insights returns metrics.The analysis start time in the report.The status of the created analysis report.status
(AnalysisStatus status) The status of the created analysis report.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, sdkFields
-
Method Details
-
analysisReportId
The name of the analysis report.
- Parameters:
analysisReportId
- The name of the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the analysis report.
- Parameters:
identifier
- The unique identifier of the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceType
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
-
RDS
-
DOCDB
- Parameters:
serviceType
- List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:-
RDS
-
DOCDB
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
serviceType
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
-
RDS
-
DOCDB
- Parameters:
serviceType
- List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:-
RDS
-
DOCDB
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createTime
The time you created the analysis report.
- Parameters:
createTime
- The time you created the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The analysis start time in the report.
- Parameters:
startTime
- The analysis start time in the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The analysis end time in the report.
- Parameters:
endTime
- The analysis end time in the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the created analysis report.
- Parameters:
status
- The status of the created analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the created analysis report.
- Parameters:
status
- The status of the created analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insights
The list of identified insights in the analysis report.
- Parameters:
insights
- The list of identified insights in the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of identified insights in the analysis report.
- Parameters:
insights
- The list of identified insights in the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of identified insights in the analysis report.
This is a convenience method that creates an instance of theInsight.Builder
avoiding the need to create one manually viaInsight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsights(List<Insight>)
.- Parameters:
insights
- a consumer that will call methods onInsight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-