Class TrustedAdvisorCheckSummary
- java.lang.Object
-
- com.amazonaws.services.support.model.TrustedAdvisorCheckSummary
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TrustedAdvisorCheckSummary extends Object implements Serializable, Cloneable
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrustedAdvisorCheckSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustedAdvisorCheckSummaryclone()booleanequals(Object obj)TrustedAdvisorCategorySpecificSummarygetCategorySpecificSummary()Summary information that relates to the category of the check.StringgetCheckId()The unique identifier for the Trusted Advisor check.BooleangetHasFlaggedResources()Specifies whether the Trusted Advisor check has flagged resources.TrustedAdvisorResourcesSummarygetResourcesSummary()StringgetStatus()The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".StringgetTimestamp()The time of the last refresh of the check.inthashCode()BooleanisHasFlaggedResources()Specifies whether the Trusted Advisor check has flagged resources.voidsetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)Summary information that relates to the category of the check.voidsetCheckId(String checkId)The unique identifier for the Trusted Advisor check.voidsetHasFlaggedResources(Boolean hasFlaggedResources)Specifies whether the Trusted Advisor check has flagged resources.voidsetResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)voidsetStatus(String status)The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".voidsetTimestamp(String timestamp)The time of the last refresh of the check.StringtoString()Returns a string representation of this object; useful for testing and debugging.TrustedAdvisorCheckSummarywithCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)Summary information that relates to the category of the check.TrustedAdvisorCheckSummarywithCheckId(String checkId)The unique identifier for the Trusted Advisor check.TrustedAdvisorCheckSummarywithHasFlaggedResources(Boolean hasFlaggedResources)Specifies whether the Trusted Advisor check has flagged resources.TrustedAdvisorCheckSummarywithResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)TrustedAdvisorCheckSummarywithStatus(String status)The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".TrustedAdvisorCheckSummarywithTimestamp(String timestamp)The time of the last refresh of the check.
-
-
-
Method Detail
-
setCheckId
public void setCheckId(String checkId)
The unique identifier for the Trusted Advisor check.
- Parameters:
checkId- The unique identifier for the Trusted Advisor check.
-
getCheckId
public String getCheckId()
The unique identifier for the Trusted Advisor check.
- Returns:
- The unique identifier for the Trusted Advisor check.
-
withCheckId
public TrustedAdvisorCheckSummary withCheckId(String checkId)
The unique identifier for the Trusted Advisor check.
- Parameters:
checkId- The unique identifier for the Trusted Advisor check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimestamp
public void setTimestamp(String timestamp)
The time of the last refresh of the check.
- Parameters:
timestamp- The time of the last refresh of the check.
-
getTimestamp
public String getTimestamp()
The time of the last refresh of the check.
- Returns:
- The time of the last refresh of the check.
-
withTimestamp
public TrustedAdvisorCheckSummary withTimestamp(String timestamp)
The time of the last refresh of the check.
- Parameters:
timestamp- The time of the last refresh of the check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
- Parameters:
status- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
-
getStatus
public String getStatus()
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
- Returns:
- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
-
withStatus
public TrustedAdvisorCheckSummary withStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
- Parameters:
status- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasFlaggedResources
public void setHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
- Parameters:
hasFlaggedResources- Specifies whether the Trusted Advisor check has flagged resources.
-
getHasFlaggedResources
public Boolean getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
- Returns:
- Specifies whether the Trusted Advisor check has flagged resources.
-
withHasFlaggedResources
public TrustedAdvisorCheckSummary withHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
- Parameters:
hasFlaggedResources- Specifies whether the Trusted Advisor check has flagged resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasFlaggedResources
public Boolean isHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
- Returns:
- Specifies whether the Trusted Advisor check has flagged resources.
-
setResourcesSummary
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
- Parameters:
resourcesSummary-
-
getResourcesSummary
public TrustedAdvisorResourcesSummary getResourcesSummary()
- Returns:
-
withResourcesSummary
public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
- Parameters:
resourcesSummary-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCategorySpecificSummary
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.
- Parameters:
categorySpecificSummary- Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
-
getCategorySpecificSummary
public TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
- Returns:
- Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
-
withCategorySpecificSummary
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.
- Parameters:
categorySpecificSummary- Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrustedAdvisorCheckSummary clone()
-
-