@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisReport extends Object implements Serializable, Cloneable, StructuredPojo
Retrieves the summary of the performance analysis report created for a time period.
Constructor and Description |
---|
AnalysisReport() |
Modifier and Type | Method and Description |
---|---|
AnalysisReport |
clone() |
boolean |
equals(Object obj) |
String |
getAnalysisReportId()
The name of the analysis report.
|
Date |
getCreateTime()
The time you created the analysis report.
|
Date |
getEndTime()
The analysis end time in the report.
|
String |
getIdentifier()
The unique identifier of the analysis report.
|
List<Insight> |
getInsights()
The list of identified insights in the analysis report.
|
String |
getServiceType()
List the tags for the Amazon Web Services service for which Performance Insights returns metrics.
|
Date |
getStartTime()
The analysis start time in the report.
|
String |
getStatus()
The status of the created analysis report.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnalysisReportId(String analysisReportId)
The name of the analysis report.
|
void |
setCreateTime(Date createTime)
The time you created the analysis report.
|
void |
setEndTime(Date endTime)
The analysis end time in the report.
|
void |
setIdentifier(String identifier)
The unique identifier of the analysis report.
|
void |
setInsights(Collection<Insight> insights)
The list of identified insights in the analysis report.
|
void |
setServiceType(String serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics.
|
void |
setStartTime(Date startTime)
The analysis start time in the report.
|
void |
setStatus(String status)
The status of the created analysis report.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisReport |
withAnalysisReportId(String analysisReportId)
The name of the analysis report.
|
AnalysisReport |
withCreateTime(Date createTime)
The time you created the analysis report.
|
AnalysisReport |
withEndTime(Date endTime)
The analysis end time in the report.
|
AnalysisReport |
withIdentifier(String identifier)
The unique identifier of the analysis report.
|
AnalysisReport |
withInsights(Collection<Insight> insights)
The list of identified insights in the analysis report.
|
AnalysisReport |
withInsights(Insight... insights)
The list of identified insights in the analysis report.
|
AnalysisReport |
withServiceType(ServiceType serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics.
|
AnalysisReport |
withServiceType(String serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics.
|
AnalysisReport |
withStartTime(Date startTime)
The analysis start time in the report.
|
AnalysisReport |
withStatus(AnalysisStatus status)
The status of the created analysis report.
|
AnalysisReport |
withStatus(String status)
The status of the created analysis report.
|
public void setAnalysisReportId(String analysisReportId)
The name of the analysis report.
analysisReportId
- The name of the analysis report.public String getAnalysisReportId()
The name of the analysis report.
public AnalysisReport withAnalysisReportId(String analysisReportId)
The name of the analysis report.
analysisReportId
- The name of the analysis report.public void setIdentifier(String identifier)
The unique identifier of the analysis report.
identifier
- The unique identifier of the analysis report.public String getIdentifier()
The unique identifier of the analysis report.
public AnalysisReport withIdentifier(String identifier)
The unique identifier of the analysis report.
identifier
- The unique identifier of the analysis report.public void setServiceType(String serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
RDS
DOCDB
serviceType
- List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid
values are as follows:
RDS
DOCDB
ServiceType
public String getServiceType()
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
RDS
DOCDB
RDS
DOCDB
ServiceType
public AnalysisReport withServiceType(String serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
RDS
DOCDB
serviceType
- List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid
values are as follows:
RDS
DOCDB
ServiceType
public AnalysisReport withServiceType(ServiceType serviceType)
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
RDS
DOCDB
serviceType
- List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid
values are as follows:
RDS
DOCDB
ServiceType
public void setCreateTime(Date createTime)
The time you created the analysis report.
createTime
- The time you created the analysis report.public Date getCreateTime()
The time you created the analysis report.
public AnalysisReport withCreateTime(Date createTime)
The time you created the analysis report.
createTime
- The time you created the analysis report.public void setStartTime(Date startTime)
The analysis start time in the report.
startTime
- The analysis start time in the report.public Date getStartTime()
The analysis start time in the report.
public AnalysisReport withStartTime(Date startTime)
The analysis start time in the report.
startTime
- The analysis start time in the report.public void setEndTime(Date endTime)
The analysis end time in the report.
endTime
- The analysis end time in the report.public Date getEndTime()
The analysis end time in the report.
public AnalysisReport withEndTime(Date endTime)
The analysis end time in the report.
endTime
- The analysis end time in the report.public void setStatus(String status)
The status of the created analysis report.
status
- The status of the created analysis report.AnalysisStatus
public String getStatus()
The status of the created analysis report.
AnalysisStatus
public AnalysisReport withStatus(String status)
The status of the created analysis report.
status
- The status of the created analysis report.AnalysisStatus
public AnalysisReport withStatus(AnalysisStatus status)
The status of the created analysis report.
status
- The status of the created analysis report.AnalysisStatus
public List<Insight> getInsights()
The list of identified insights in the analysis report.
public void setInsights(Collection<Insight> insights)
The list of identified insights in the analysis report.
insights
- The list of identified insights in the analysis report.public AnalysisReport withInsights(Insight... insights)
The list of identified insights in the analysis report.
NOTE: This method appends the values to the existing list (if any). Use
setInsights(java.util.Collection)
or withInsights(java.util.Collection)
if you want to override
the existing values.
insights
- The list of identified insights in the analysis report.public AnalysisReport withInsights(Collection<Insight> insights)
The list of identified insights in the analysis report.
insights
- The list of identified insights in the analysis report.public String toString()
toString
in class Object
Object.toString()
public AnalysisReport clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.