public class TrustedAdvisorCheckDescription extends Object implements Serializable, Cloneable
The description and metadata for a Trusted Advisor check.
Constructor and Description |
---|
TrustedAdvisorCheckDescription() |
Modifier and Type | Method and 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(Collection<String> metadata)
The column headings for the data returned by the Trusted Advisor
check.
|
TrustedAdvisorCheckDescription |
withMetadata(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.
|
public String getId()
public void setId(String id)
id
- The unique identifier for the Trusted Advisor check.public TrustedAdvisorCheckDescription withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The unique identifier for the Trusted Advisor check.public String getName()
public void setName(String name)
name
- The display name for the Trusted Advisor check.public TrustedAdvisorCheckDescription withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The display name for the Trusted Advisor check.public String getDescription()
public void setDescription(String description)
description
- The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).public TrustedAdvisorCheckDescription withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).public String getCategory()
public void setCategory(String category)
category
- The category of the Trusted Advisor check.public TrustedAdvisorCheckDescription withCategory(String category)
Returns a reference to this object so that method calls can be chained together.
category
- The category of the Trusted Advisor check.public List<String> getMetadata()
public void setMetadata(Collection<String> metadata)
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.public TrustedAdvisorCheckDescription withMetadata(String... metadata)
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.
Returns a reference to this object so that method calls can be chained together.
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.public TrustedAdvisorCheckDescription withMetadata(Collection<String> metadata)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
public TrustedAdvisorCheckDescription clone()
Copyright © 2015. All rights reserved.