public class TrustedAdvisorCheckDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The description and metadata for a Trusted Advisor check.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
category
The category of the Trusted Advisor check.
|
private java.lang.String |
description
The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).
|
private java.lang.String |
id
The unique identifier for the Trusted Advisor check.
|
private SdkInternalList<java.lang.String> |
metadata
The column headings for the data returned by the Trusted Advisor check.
|
private java.lang.String |
name
The display name for the Trusted Advisor check.
|
Constructor and Description |
---|
TrustedAdvisorCheckDescription() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorCheckDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategory()
The category of the Trusted Advisor check.
|
java.lang.String |
getDescription()
The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).
|
java.lang.String |
getId()
The unique identifier for the Trusted Advisor check.
|
java.util.List<java.lang.String> |
getMetadata()
The column headings for the data returned by the Trusted Advisor check.
|
java.lang.String |
getName()
The display name for the Trusted Advisor check.
|
int |
hashCode() |
void |
setCategory(java.lang.String category)
The category of the Trusted Advisor check.
|
void |
setDescription(java.lang.String description)
The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).
|
void |
setId(java.lang.String id)
The unique identifier for the Trusted Advisor check.
|
void |
setMetadata(java.util.Collection<java.lang.String> metadata)
The column headings for the data returned by the Trusted Advisor check.
|
void |
setName(java.lang.String name)
The display name for the Trusted Advisor check.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorCheckDescription |
withCategory(java.lang.String category)
The category of the Trusted Advisor check.
|
TrustedAdvisorCheckDescription |
withDescription(java.lang.String description)
The description of the Trusted Advisor check, which includes the alert
criteria and recommended actions (contains HTML markup).
|
TrustedAdvisorCheckDescription |
withId(java.lang.String id)
The unique identifier for the Trusted Advisor check.
|
TrustedAdvisorCheckDescription |
withMetadata(java.util.Collection<java.lang.String> metadata)
The column headings for the data returned by the Trusted Advisor check.
|
TrustedAdvisorCheckDescription |
withMetadata(java.lang.String... metadata)
The column headings for the data returned by the Trusted Advisor check.
|
TrustedAdvisorCheckDescription |
withName(java.lang.String name)
The display name for the Trusted Advisor check.
|
private java.lang.String id
The unique identifier for the Trusted Advisor check.
private java.lang.String name
The display name for the Trusted Advisor check.
private java.lang.String description
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
private java.lang.String category
The category of the Trusted Advisor check.
private SdkInternalList<java.lang.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.
public void setId(java.lang.String id)
The unique identifier for the Trusted Advisor check.
id
- The unique identifier for the Trusted Advisor check.public java.lang.String getId()
The unique identifier for the Trusted Advisor check.
public TrustedAdvisorCheckDescription withId(java.lang.String id)
The unique identifier for the Trusted Advisor check.
id
- The unique identifier for the Trusted Advisor check.public void setName(java.lang.String name)
The display name for the Trusted Advisor check.
name
- The display name for the Trusted Advisor check.public java.lang.String getName()
The display name for the Trusted Advisor check.
public TrustedAdvisorCheckDescription withName(java.lang.String name)
The display name for the Trusted Advisor check.
name
- The display name for the Trusted Advisor check.public void setDescription(java.lang.String description)
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
description
- The description of the Trusted Advisor check, which includes the
alert criteria and recommended actions (contains HTML markup).public java.lang.String getDescription()
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
public TrustedAdvisorCheckDescription withDescription(java.lang.String description)
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
description
- The description of the Trusted Advisor check, which includes the
alert criteria and recommended actions (contains HTML markup).public void setCategory(java.lang.String category)
The category of the Trusted Advisor check.
category
- The category of the Trusted Advisor check.public java.lang.String getCategory()
The category of the Trusted Advisor check.
public TrustedAdvisorCheckDescription withCategory(java.lang.String category)
The category of the Trusted Advisor check.
category
- The category of the Trusted Advisor check.public java.util.List<java.lang.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.
public void setMetadata(java.util.Collection<java.lang.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.
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(java.lang.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.
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(java.util.Collection<java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TrustedAdvisorCheckDescription clone()
clone
in class java.lang.Object