Interface AnalysisReport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisReport.Builder,AnalysisReport>,SdkBuilder<AnalysisReport.Builder,AnalysisReport>,SdkPojo
- Enclosing class:
- AnalysisReport
public static interface AnalysisReport.Builder extends SdkPojo, CopyableBuilder<AnalysisReport.Builder,AnalysisReport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalysisReport.BuilderanalysisReportId(String analysisReportId)The name of the analysis report.AnalysisReport.BuildercreateTime(Instant createTime)The time you created the analysis report.AnalysisReport.BuilderendTime(Instant endTime)The analysis end time in the report.AnalysisReport.Builderidentifier(String identifier)The unique identifier of the analysis report.AnalysisReport.Builderinsights(Collection<Insight> insights)The list of identified insights in the analysis report.AnalysisReport.Builderinsights(Consumer<Insight.Builder>... insights)The list of identified insights in the analysis report.AnalysisReport.Builderinsights(Insight... insights)The list of identified insights in the analysis report.AnalysisReport.BuilderserviceType(String serviceType)List the tags for the Amazon Web Services service for which Performance Insights returns metrics.AnalysisReport.BuilderserviceType(ServiceType serviceType)List the tags for the Amazon Web Services service for which Performance Insights returns metrics.AnalysisReport.BuilderstartTime(Instant startTime)The analysis start time in the report.AnalysisReport.Builderstatus(String status)The status of the created analysis report.AnalysisReport.Builderstatus(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 Detail
-
analysisReportId
AnalysisReport.Builder analysisReportId(String 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
AnalysisReport.Builder identifier(String 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
AnalysisReport.Builder serviceType(String 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,ServiceType
-
-
serviceType
AnalysisReport.Builder serviceType(ServiceType 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,ServiceType
-
-
createTime
AnalysisReport.Builder createTime(Instant 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
AnalysisReport.Builder startTime(Instant 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
AnalysisReport.Builder endTime(Instant 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
AnalysisReport.Builder status(String 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:
AnalysisStatus,AnalysisStatus
-
status
AnalysisReport.Builder status(AnalysisStatus 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:
AnalysisStatus,AnalysisStatus
-
insights
AnalysisReport.Builder insights(Collection<Insight> 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
AnalysisReport.Builder insights(Insight... 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
AnalysisReport.Builder insights(Consumer<Insight.Builder>... insights)
The list of identified insights in the analysis report.
This is a convenience method that creates an instance of theInsight.Builderavoiding the need to create one manually viaInsight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#insights(List.) - 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:
#insights(java.util.Collection)
-
-