Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class TrustedAdvisorCheckResult

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

public class TrustedAdvisorCheckResult
extends Object
implements Serializable

JSON-formatted object contained in the DescribeTrustedAdvisorCheckResult response. This object has three child objects:

  1. TrustedAdvisorCategorySpecificSummary
  2. TrustedAdvisorResourceDetail
  3. TrustedAdvisorResourcesSummary

See Also:
Serialized Form

Constructor Summary
TrustedAdvisorCheckResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 TrustedAdvisorCategorySpecificSummary getCategorySpecificSummary()
          Reports summaries for each Trusted Advisor category.
 String getCheckId()
          Unique identifier for a Trusted Advisor check.
 List<TrustedAdvisorResourceDetail> getFlaggedResources()
          List of AWS resources flagged by the Trusted Advisor check.
 TrustedAdvisorResourcesSummary getResourcesSummary()
          JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 String getStatus()
          Overall status of the check.
 String getTimestamp()
          Time at which Trusted Advisor ran the check.
 int hashCode()
           
 void setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
          Reports summaries for each Trusted Advisor category.
 void setCheckId(String checkId)
          Unique identifier for a Trusted Advisor check.
 void setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
          List of AWS resources flagged by the Trusted Advisor check.
 void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
          JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 void setStatus(String status)
          Overall status of the check.
 void setTimestamp(String timestamp)
          Time at which Trusted Advisor ran the check.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 TrustedAdvisorCheckResult withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
          Reports summaries for each Trusted Advisor category.
 TrustedAdvisorCheckResult withCheckId(String checkId)
          Unique identifier for a Trusted Advisor check.
 TrustedAdvisorCheckResult withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
          List of AWS resources flagged by the Trusted Advisor check.
 TrustedAdvisorCheckResult withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
          List of AWS resources flagged by the Trusted Advisor check.
 TrustedAdvisorCheckResult withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
          JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
 TrustedAdvisorCheckResult withStatus(String status)
          Overall status of the check.
 TrustedAdvisorCheckResult withTimestamp(String timestamp)
          Time at which Trusted Advisor ran the check.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrustedAdvisorCheckResult

public TrustedAdvisorCheckResult()
Method Detail

getCheckId

public String getCheckId()
Unique identifier for a Trusted Advisor check.

Returns:
Unique identifier for a Trusted Advisor check.

setCheckId

public void setCheckId(String checkId)
Unique identifier for a Trusted Advisor check.

Parameters:
checkId - Unique identifier for a Trusted Advisor check.

withCheckId

public TrustedAdvisorCheckResult withCheckId(String checkId)
Unique identifier for a Trusted Advisor check.

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

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

getTimestamp

public String getTimestamp()
Time at which Trusted Advisor ran the check.

Returns:
Time at which Trusted Advisor ran the check.

setTimestamp

public void setTimestamp(String timestamp)
Time at which Trusted Advisor ran the check.

Parameters:
timestamp - Time at which Trusted Advisor ran the check.

withTimestamp

public TrustedAdvisorCheckResult withTimestamp(String timestamp)
Time at which Trusted Advisor ran the check.

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

Parameters:
timestamp - Time at which Trusted Advisor ran the check.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
Overall status of the check. Status values are "ok," "warning," "error," or "not_available."

Returns:
Overall status of the check. Status values are "ok," "warning," "error," or "not_available."

setStatus

public void setStatus(String status)
Overall status of the check. Status values are "ok," "warning," "error," or "not_available."

Parameters:
status - Overall status of the check. Status values are "ok," "warning," "error," or "not_available."

withStatus

public TrustedAdvisorCheckResult withStatus(String status)
Overall status of the check. Status values are "ok," "warning," "error," or "not_available."

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

Parameters:
status - Overall status of the check. Status values are "ok," "warning," "error," or "not_available."
Returns:
A reference to this updated object so that method calls can be chained together.

getResourcesSummary

public TrustedAdvisorResourcesSummary getResourcesSummary()
JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

Returns:
JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

setResourcesSummary

public void setResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

Parameters:
resourcesSummary - JSON-formatted object that lists details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.

withResourcesSummary

public TrustedAdvisorCheckResult withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
JSON-formatted object that lists 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 - JSON-formatted object that lists 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()
Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.

Returns:
Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.

setCategorySpecificSummary

public void setCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.

Parameters:
categorySpecificSummary - Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.

withCategorySpecificSummary

public TrustedAdvisorCheckResult withCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.

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

Parameters:
categorySpecificSummary - Reports summaries for each Trusted Advisor category. Only the category cost optimizing is currently supported. The other categories are security, fault tolerance, and performance.
Returns:
A reference to this updated object so that method calls can be chained together.

getFlaggedResources

public List<TrustedAdvisorResourceDetail> getFlaggedResources()
List of AWS resources flagged by the Trusted Advisor check.

Returns:
List of AWS resources flagged by the Trusted Advisor check.

setFlaggedResources

public void setFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.

Parameters:
flaggedResources - List of AWS resources flagged by the Trusted Advisor check.

withFlaggedResources

public TrustedAdvisorCheckResult withFlaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.

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

Parameters:
flaggedResources - List of AWS resources flagged by the Trusted Advisor check.
Returns:
A reference to this updated object so that method calls can be chained together.

withFlaggedResources

public TrustedAdvisorCheckResult withFlaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
List of AWS resources flagged by the Trusted Advisor check.

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

Parameters:
flaggedResources - List of AWS resources flagged by the Trusted Advisor check.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.