public class TrustedAdvisorCheckSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
Modifier and Type | Field and Description |
---|---|
private TrustedAdvisorCategorySpecificSummary |
categorySpecificSummary
Summary information that relates to the category of the check.
|
private java.lang.String |
checkId
The unique identifier for the Trusted Advisor check.
|
private java.lang.Boolean |
hasFlaggedResources
Specifies whether the Trusted Advisor check has flagged resources.
|
private TrustedAdvisorResourcesSummary |
resourcesSummary |
private java.lang.String |
status
The alert status of the check: "ok" (green), "warning" (yellow), "error"
(red), or "not_available".
|
private java.lang.String |
timestamp
The time of the last refresh of the check.
|
Constructor and Description |
---|
TrustedAdvisorCheckSummary() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorCheckSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
TrustedAdvisorCategorySpecificSummary |
getCategorySpecificSummary()
Summary information that relates to the category of the check.
|
java.lang.String |
getCheckId()
The unique identifier for the Trusted Advisor check.
|
java.lang.Boolean |
getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
|
TrustedAdvisorResourcesSummary |
getResourcesSummary() |
java.lang.String |
getStatus()
The alert status of the check: "ok" (green), "warning" (yellow), "error"
(red), or "not_available".
|
java.lang.String |
getTimestamp()
The time of the last refresh of the check.
|
int |
hashCode() |
java.lang.Boolean |
isHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
|
void |
setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check.
|
void |
setCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
|
void |
setHasFlaggedResources(java.lang.Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
|
void |
setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary) |
void |
setStatus(java.lang.String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error"
(red), or "not_available".
|
void |
setTimestamp(java.lang.String timestamp)
The time of the last refresh of the check.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorCheckSummary |
withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check.
|
TrustedAdvisorCheckSummary |
withCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
|
TrustedAdvisorCheckSummary |
withHasFlaggedResources(java.lang.Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
|
TrustedAdvisorCheckSummary |
withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary) |
TrustedAdvisorCheckSummary |
withStatus(java.lang.String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error"
(red), or "not_available".
|
TrustedAdvisorCheckSummary |
withTimestamp(java.lang.String timestamp)
The time of the last refresh of the check.
|
private java.lang.String checkId
The unique identifier for the Trusted Advisor check.
private java.lang.String timestamp
The time of the last refresh of the check.
private java.lang.String status
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
private java.lang.Boolean hasFlaggedResources
Specifies whether the Trusted Advisor check has flagged resources.
private TrustedAdvisorResourcesSummary resourcesSummary
private TrustedAdvisorCategorySpecificSummary categorySpecificSummary
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
public void setCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public java.lang.String getCheckId()
The unique identifier for the Trusted Advisor check.
public TrustedAdvisorCheckSummary withCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public void setTimestamp(java.lang.String timestamp)
The time of the last refresh of the check.
timestamp
- The time of the last refresh of the check.public java.lang.String getTimestamp()
The time of the last refresh of the check.
public TrustedAdvisorCheckSummary withTimestamp(java.lang.String timestamp)
The time of the last refresh of the check.
timestamp
- The time of the last refresh of the check.public void setStatus(java.lang.String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".public java.lang.String getStatus()
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
public TrustedAdvisorCheckSummary withStatus(java.lang.String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".public void setHasFlaggedResources(java.lang.Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public java.lang.Boolean getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
public TrustedAdvisorCheckSummary withHasFlaggedResources(java.lang.Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public java.lang.Boolean isHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- public TrustedAdvisorResourcesSummary getResourcesSummary()
public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- public void setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
categorySpecificSummary
- Summary information that relates to the category of the check.
Cost Optimizing is the only category that is currently supported.public TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
public TrustedAdvisorCheckSummary withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
categorySpecificSummary
- Summary information that relates to the category of the check.
Cost Optimizing is the only category that is currently supported.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TrustedAdvisorCheckSummary clone()
clone
in class java.lang.Object