Class TrustedAdvisorCheckSummary
- All Implemented Interfaces:
Serializable
,Cloneable
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Summary information that relates to the category of the check.The unique identifier for the Trusted Advisor check.Specifies whether the Trusted Advisor check has flagged resources.The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".The time of the last refresh of the check.int
hashCode()
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) void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCategorySpecificSummary
(TrustedAdvisorCategorySpecificSummary categorySpecificSummary) Summary information that relates to the category of the check.withCheckId
(String checkId) The unique identifier for the Trusted Advisor check.withHasFlaggedResources
(Boolean hasFlaggedResources) Specifies whether the Trusted Advisor check has flagged resources.withResourcesSummary
(TrustedAdvisorResourcesSummary resourcesSummary) withStatus
(String status) The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".withTimestamp
(String timestamp) The time of the last refresh of the check.
-
Constructor Details
-
TrustedAdvisorCheckSummary
public TrustedAdvisorCheckSummary()
-
-
Method Details
-
setCheckId
The unique identifier for the Trusted Advisor check.
- Parameters:
checkId
- The unique identifier for the Trusted Advisor check.
-
getCheckId
The unique identifier for the Trusted Advisor check.
- Returns:
- The unique identifier for the Trusted Advisor check.
-
withCheckId
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
The time of the last refresh of the check.
- Parameters:
timestamp
- The time of the last refresh of the check.
-
getTimestamp
The time of the last refresh of the check.
- Returns:
- The time of the last refresh of the check.
-
withTimestamp
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
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
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
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
Specifies whether the Trusted Advisor check has flagged resources.
- Parameters:
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.
-
getHasFlaggedResources
Specifies whether the Trusted Advisor check has flagged resources.
- Returns:
- Specifies whether the Trusted Advisor check has flagged resources.
-
withHasFlaggedResources
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
Specifies whether the Trusted Advisor check has flagged resources.
- Returns:
- Specifies whether the Trusted Advisor check has flagged resources.
-
setResourcesSummary
- Parameters:
resourcesSummary
-
-
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-