Class TrustedAdvisorCheckDescription

java.lang.Object
com.amazonaws.services.support.model.TrustedAdvisorCheckDescription
All Implemented Interfaces:
Serializable, Cloneable

public class TrustedAdvisorCheckDescription extends Object implements Serializable, Cloneable

The description and metadata for a Trusted Advisor check.

See Also:
  • Constructor Details

    • TrustedAdvisorCheckDescription

      public TrustedAdvisorCheckDescription()
  • Method Details

    • setId

      public void setId(String id)

      The unique identifier for the Trusted Advisor check.

      Parameters:
      id - The unique identifier for the Trusted Advisor check.
    • getId

      public String getId()

      The unique identifier for the Trusted Advisor check.

      Returns:
      The unique identifier for the Trusted Advisor check.
    • withId

      The unique identifier for the Trusted Advisor check.

      Parameters:
      id - The unique identifier for the Trusted Advisor check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      The display name for the Trusted Advisor check.

      Parameters:
      name - The display name for the Trusted Advisor check.
    • getName

      public String getName()

      The display name for the Trusted Advisor check.

      Returns:
      The display name for the Trusted Advisor check.
    • withName

      public TrustedAdvisorCheckDescription withName(String name)

      The display name for the Trusted Advisor check.

      Parameters:
      name - The display name for the Trusted Advisor check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).

      Parameters:
      description - The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
    • getDescription

      public String getDescription()

      The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).

      Returns:
      The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
    • withDescription

      public TrustedAdvisorCheckDescription withDescription(String description)

      The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).

      Parameters:
      description - The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCategory

      public void setCategory(String category)

      The category of the Trusted Advisor check.

      Parameters:
      category - The category of the Trusted Advisor check.
    • getCategory

      public String getCategory()

      The category of the Trusted Advisor check.

      Returns:
      The category of the Trusted Advisor check.
    • withCategory

      public TrustedAdvisorCheckDescription withCategory(String category)

      The category of the Trusted Advisor check.

      Parameters:
      category - The category of the Trusted Advisor check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getMetadata

      public List<String> getMetadata()

      The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.

      Returns:
      The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
    • setMetadata

      public void setMetadata(Collection<String> metadata)

      The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.

      Parameters:
      metadata - The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
    • withMetadata

      public TrustedAdvisorCheckDescription withMetadata(String... metadata)

      The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.

      NOTE: This method appends the values to the existing list (if any). Use setMetadata(java.util.Collection) or withMetadata(java.util.Collection) if you want to override the existing values.

      Parameters:
      metadata - The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withMetadata

      public TrustedAdvisorCheckDescription withMetadata(Collection<String> metadata)

      The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.

      Parameters:
      metadata - The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object