public class TrustedAdvisorCheckSummary extends Object implements Serializable
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
Constructor and Description |
---|
TrustedAdvisorCheckSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TrustedAdvisorCategorySpecificSummary |
getCategorySpecificSummary()
Summary information that relates to the category of the check.
|
String |
getCheckId()
The unique identifier for the Trusted Advisor check.
|
Boolean |
getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
|
TrustedAdvisorResourcesSummary |
getResourcesSummary()
Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.
|
String |
getStatus()
The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".
|
String |
getTimestamp()
The time of the last refresh of the check.
|
int |
hashCode() |
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(String checkId)
The unique identifier for the Trusted Advisor check.
|
void |
setHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
|
void |
setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.
|
void |
setStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".
|
void |
setTimestamp(String timestamp)
The time of the last refresh of the check.
|
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(String checkId)
The unique identifier for the Trusted Advisor check.
|
TrustedAdvisorCheckSummary |
withHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
|
TrustedAdvisorCheckSummary |
withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.
|
TrustedAdvisorCheckSummary |
withStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".
|
TrustedAdvisorCheckSummary |
withTimestamp(String timestamp)
The time of the last refresh of the check.
|
public String getCheckId()
public void setCheckId(String checkId)
checkId
- The unique identifier for the Trusted Advisor check.public TrustedAdvisorCheckSummary withCheckId(String checkId)
Returns a reference to this object so that method calls can be chained together.
checkId
- The unique identifier for the Trusted Advisor check.public String getTimestamp()
public void setTimestamp(String timestamp)
timestamp
- The time of the last refresh of the check.public TrustedAdvisorCheckSummary withTimestamp(String timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The time of the last refresh of the check.public String getStatus()
public void setStatus(String status)
status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".public TrustedAdvisorCheckSummary withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".public Boolean isHasFlaggedResources()
public void setHasFlaggedResources(Boolean hasFlaggedResources)
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public TrustedAdvisorCheckSummary withHasFlaggedResources(Boolean hasFlaggedResources)
Returns a reference to this object so that method calls can be chained together.
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public Boolean getHasFlaggedResources()
public TrustedAdvisorResourcesSummary getResourcesSummary()
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Returns a reference to this object so that method calls can be chained together.
resourcesSummary
- Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.public TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
public void setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
categorySpecificSummary
- 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)
Returns a reference to this object so that method calls can be chained together.
categorySpecificSummary
- Summary information that relates to the category of the check. Cost
Optimizing is the only category that is currently supported.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.