@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrustedAdvisorCheckSummary extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
TrustedAdvisorCheckSummary |
clone() |
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() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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.
|
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) |
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 void setCheckId(String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public String getCheckId()
The unique identifier for the Trusted Advisor check.
public TrustedAdvisorCheckSummary withCheckId(String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public void setTimestamp(String timestamp)
The time of the last refresh of the check.
timestamp
- The time of the last refresh of the check.public String getTimestamp()
The time of the last refresh of the check.
public TrustedAdvisorCheckSummary withTimestamp(String timestamp)
The time of the last refresh of the check.
timestamp
- The time of the last refresh of the check.public void setStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
status
- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".public String getStatus()
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
public TrustedAdvisorCheckSummary withStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
status
- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".public void setHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public Boolean getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
public TrustedAdvisorCheckSummary withHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.public Boolean isHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- public TrustedAdvisorResourcesSummary getResourcesSummary()
public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- 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.
categorySpecificSummary
- Summary information that relates to the category of the check. Cost Optimizing is the only category that
is currently supported.public TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
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)
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
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()
public TrustedAdvisorCheckSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.