public class TrustedAdvisorCheckResult extends Object implements Serializable
JSON-formatted object contained in the DescribeTrustedAdvisorCheckResult response. This object has three child objects:
Constructor and Description |
---|
TrustedAdvisorCheckResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TrustedAdvisorCategorySpecificSummary |
getCategorySpecificSummary()
Reports summaries for each Trusted Advisor category.
|
String |
getCheckId()
Unique identifier for a Trusted Advisor check.
|
List<TrustedAdvisorResourceDetail> |
getFlaggedResources()
List of AWS resources flagged by the Trusted Advisor check.
|
TrustedAdvisorResourcesSummary |
getResourcesSummary()
JSON-formatted object that lists details about AWS resources that were
analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
|
String |
getStatus()
Overall status of the check.
|
String |
getTimestamp()
Time at which Trusted Advisor ran the check.
|
int |
hashCode() |
void |
setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Reports summaries for each Trusted Advisor category.
|
void |
setCheckId(String checkId)
Unique identifier for a Trusted Advisor check.
|
void |
setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.
|
void |
setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
JSON-formatted object that lists details about AWS resources that were
analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
|
void |
setStatus(String status)
Overall status of the check.
|
void |
setTimestamp(String timestamp)
Time at which Trusted Advisor ran the check.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorCheckResult |
withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Reports summaries for each Trusted Advisor category.
|
TrustedAdvisorCheckResult |
withCheckId(String checkId)
Unique identifier for a Trusted Advisor check.
|
TrustedAdvisorCheckResult |
withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.
|
TrustedAdvisorCheckResult |
withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.
|
TrustedAdvisorCheckResult |
withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
JSON-formatted object that lists details about AWS resources that were
analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
|
TrustedAdvisorCheckResult |
withStatus(String status)
Overall status of the check.
|
TrustedAdvisorCheckResult |
withTimestamp(String timestamp)
Time at which Trusted Advisor ran the check.
|
public String getCheckId()
public void setCheckId(String checkId)
checkId
- Unique identifier for a Trusted Advisor check.public TrustedAdvisorCheckResult withCheckId(String checkId)
Returns a reference to this object so that method calls can be chained together.
checkId
- Unique identifier for a Trusted Advisor check.public String getTimestamp()
public void setTimestamp(String timestamp)
timestamp
- Time at which Trusted Advisor ran the check.public TrustedAdvisorCheckResult withTimestamp(String timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- Time at which Trusted Advisor ran the check.public String getStatus()
public void setStatus(String status)
status
- Overall status of the check. Status values are "ok," "warning,"
"error," or "not_available."public TrustedAdvisorCheckResult withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- Overall status of the check. Status values are "ok," "warning,"
"error," or "not_available."public TrustedAdvisorResourcesSummary getResourcesSummary()
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- JSON-formatted object that lists 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
- JSON-formatted object that lists details about AWS resources that were
analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.public TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
public void setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
categorySpecificSummary
- Reports summaries for each Trusted Advisor category. Only the category
cost optimizing is currently supported. The other categories
are security, fault tolerance, and performance.public TrustedAdvisorCheckResult withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Returns a reference to this object so that method calls can be chained together.
categorySpecificSummary
- Reports summaries for each Trusted Advisor category. Only the category
cost optimizing is currently supported. The other categories
are security, fault tolerance, and performance.public List<TrustedAdvisorResourceDetail> getFlaggedResources()
public void setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
flaggedResources
- List of AWS resources flagged by the Trusted Advisor check.public TrustedAdvisorCheckResult withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
Returns a reference to this object so that method calls can be chained together.
flaggedResources
- List of AWS resources flagged by the Trusted Advisor check.public TrustedAdvisorCheckResult withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
Returns a reference to this object so that method calls can be chained together.
flaggedResources
- List of AWS resources flagged by the Trusted Advisor check.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.