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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrustedAdvisorCheckDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustedAdvisorCheckDescription
clone()
boolean
equals(Object obj)
String
getCategory()
The category of the Trusted Advisor check.String
getDescription()
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).String
getId()
The unique identifier for the Trusted Advisor check.List<String>
getMetadata()
The column headings for the data returned by the Trusted Advisor check.String
getName()
The display name for the Trusted Advisor check.int
hashCode()
void
setCategory(String category)
The category of the Trusted Advisor check.void
setDescription(String description)
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).void
setId(String id)
The unique identifier for the Trusted Advisor check.void
setMetadata(Collection<String> metadata)
The column headings for the data returned by the Trusted Advisor check.void
setName(String name)
The display name for the Trusted Advisor check.String
toString()
Returns a string representation of this object; useful for testing and debugging.TrustedAdvisorCheckDescription
withCategory(String category)
The category of the Trusted Advisor check.TrustedAdvisorCheckDescription
withDescription(String description)
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).TrustedAdvisorCheckDescription
withId(String id)
The unique identifier for the Trusted Advisor check.TrustedAdvisorCheckDescription
withMetadata(String... metadata)
The column headings for the data returned by the Trusted Advisor check.TrustedAdvisorCheckDescription
withMetadata(Collection<String> metadata)
The column headings for the data returned by the Trusted Advisor check.TrustedAdvisorCheckDescription
withName(String name)
The display name for the Trusted Advisor check.
-
-
-
Method Detail
-
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
public TrustedAdvisorCheckDescription withId(String id)
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)
orwithMetadata(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrustedAdvisorCheckDescription clone()
-
-