|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.support.model.TrustedAdvisorCheckResult
public class TrustedAdvisorCheckResult
The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
Constructor Summary | |
---|---|
TrustedAdvisorCheckResult()
|
Method Summary | |
---|---|
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. |
List<TrustedAdvisorResourceDetail> |
getFlaggedResources()
The details about each resource listed in the check result. |
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()
|
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 |
setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result. |
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. |
TrustedAdvisorCheckResult |
withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check. |
TrustedAdvisorCheckResult |
withCheckId(String checkId)
The unique identifier for the Trusted Advisor check. |
TrustedAdvisorCheckResult |
withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result. |
TrustedAdvisorCheckResult |
withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
The details about each resource listed in the check result. |
TrustedAdvisorCheckResult |
withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries. |
TrustedAdvisorCheckResult |
withStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". |
TrustedAdvisorCheckResult |
withTimestamp(String timestamp)
The time of the last refresh of the check. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrustedAdvisorCheckResult()
Method Detail |
---|
public String getCheckId()
public void setCheckId(String checkId)
checkId
- The unique identifier for the Trusted Advisor check.public TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 TrustedAdvisorResourcesSummary getResourcesSummary()
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- Details about AWS resources that were analyzed in a call to Trusted
Advisor DescribeTrustedAdvisorCheckSummaries.public TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 List<TrustedAdvisorResourceDetail> getFlaggedResources()
public void setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
flaggedResources
- The details about each resource listed in the check result.public TrustedAdvisorCheckResult withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
Returns a reference to this object so that method calls can be chained together.
flaggedResources
- The details about each resource listed in the check result.
public TrustedAdvisorCheckResult withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
Returns a reference to this object so that method calls can be chained together.
flaggedResources
- The details about each resource listed in the check result.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |