com.amazonaws.services.support.model
Class TrustedAdvisorCheckSummary

java.lang.Object
  extended by com.amazonaws.services.support.model.TrustedAdvisorCheckSummary
All Implemented Interfaces:
Serializable

public class TrustedAdvisorCheckSummary
extends Object
implements Serializable

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
TrustedAdvisorCheckSummary()
           
 
Method Summary
 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()
          Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 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 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)
          Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 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; useful for testing and debugging.
 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)
          Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrustedAdvisorCheckSummary

public TrustedAdvisorCheckSummary()
Method Detail

getCheckId

public String getCheckId()
The unique identifier for the Trusted Advisor check.

Returns:
The unique identifier for the Trusted Advisor check.

setCheckId

public void setCheckId(String checkId)
The unique identifier for the Trusted Advisor check.

Parameters:
checkId - The unique identifier for the Trusted Advisor check.

withCheckId

public TrustedAdvisorCheckSummary withCheckId(String checkId)
The unique identifier for the Trusted Advisor check.

Returns a reference to this object so that method calls can be chained together.

Parameters:
checkId - The unique identifier for the Trusted Advisor check.
Returns:
A reference to this updated object so that method calls can be chained together.

getTimestamp

public String getTimestamp()
The time of the last refresh of the check.

Returns:
The time of the last refresh of the check.

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.

withTimestamp

public TrustedAdvisorCheckSummary withTimestamp(String timestamp)
The time of the last refresh of the check.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timestamp - The time of the last refresh of the check.
Returns:
A reference to this updated object so that method calls can be chained together.

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".

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".

withStatus

public TrustedAdvisorCheckSummary withStatus(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
Returns:
A reference to this updated 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.

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.

withHasFlaggedResources

public TrustedAdvisorCheckSummary withHasFlaggedResources(Boolean hasFlaggedResources)
Specifies whether the Trusted Advisor check has flagged resources.

Returns a reference to this object so that method calls can be chained together.

Parameters:
hasFlaggedResources - Specifies whether the Trusted Advisor check has flagged resources.
Returns:
A reference to this updated object so that method calls can be chained together.

getHasFlaggedResources

public Boolean getHasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.

Returns:
Specifies whether the Trusted Advisor check has flagged resources.

getResourcesSummary

public TrustedAdvisorResourcesSummary getResourcesSummary()
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

Returns:
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

setResourcesSummary

public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

Parameters:
resourcesSummary - Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

withResourcesSummary

public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourcesSummary - Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
categorySpecificSummary - Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.