@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrustedAdvisorCheckResult extends Object implements Serializable, Cloneable, StructuredPojo
The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
Constructor and Description |
---|
TrustedAdvisorCheckResult() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorCheckResult |
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.
|
List<TrustedAdvisorResourceDetail> |
getFlaggedResources()
The details about each resource listed in the check result.
|
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() |
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 |
setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result.
|
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.
|
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) |
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.
|
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 TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- public TrustedAdvisorResourcesSummary getResourcesSummary()
public TrustedAdvisorCheckResult 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 TrustedAdvisorCheckResult 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 List<TrustedAdvisorResourceDetail> getFlaggedResources()
The details about each resource listed in the check result.
public void setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result.
flaggedResources
- The details about each resource listed in the check result.public TrustedAdvisorCheckResult withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
The details about each resource listed in the check result.
NOTE: This method appends the values to the existing list (if any). Use
setFlaggedResources(java.util.Collection)
or withFlaggedResources(java.util.Collection)
if you
want to override the existing values.
flaggedResources
- The details about each resource listed in the check result.public TrustedAdvisorCheckResult withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result.
flaggedResources
- The details about each resource listed in the check result.public String toString()
toString
in class Object
Object.toString()
public TrustedAdvisorCheckResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.