Class TrustedAdvisorCheckDescription
- All Implemented Interfaces:
Serializable
,Cloneable
The description and metadata for a Trusted Advisor check.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The category of the Trusted Advisor check.The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).getId()
The unique identifier for the Trusted Advisor check.The column headings for the data returned by the Trusted Advisor check.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
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
The display name for the Trusted Advisor check.toString()
Returns a string representation of this object; useful for testing and debugging.withCategory
(String category) The category of the Trusted Advisor check.withDescription
(String description) The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).The unique identifier for the Trusted Advisor check.withMetadata
(String... metadata) The column headings for the data returned by the Trusted Advisor check.withMetadata
(Collection<String> metadata) The column headings for the data returned by the Trusted Advisor check.The display name for the Trusted Advisor check.
-
Constructor Details
-
TrustedAdvisorCheckDescription
public TrustedAdvisorCheckDescription()
-
-
Method Details
-
setId
The unique identifier for the Trusted Advisor check.
- Parameters:
id
- The unique identifier for the Trusted Advisor check.
-
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
The display name for the Trusted Advisor check.
- Parameters:
name
- The display name for the Trusted Advisor check.
-
getName
The display name for the Trusted Advisor check.
- Returns:
- The display name for the Trusted Advisor check.
-
withName
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
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
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
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
The category of the Trusted Advisor check.
- Parameters:
category
- The category of the Trusted Advisor check.
-
getCategory
The category of the Trusted Advisor check.
- Returns:
- The category of the Trusted Advisor check.
-
withCategory
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-