public class TrustedAdvisorResourceDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a resource identified by a Trusted Advisor check.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
isSuppressed
Specifies whether the AWS resource was ignored by Trusted Advisor because
it was marked as suppressed by the user.
|
private SdkInternalList<java.lang.String> |
metadata
Additional information about the identified resource.
|
private java.lang.String |
region
The AWS region in which the identified resource is located.
|
private java.lang.String |
resourceId
The unique identifier for the identified resource.
|
private java.lang.String |
status
The status code for the resource identified in the Trusted Advisor check.
|
Constructor and Description |
---|
TrustedAdvisorResourceDetail() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorResourceDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because
it was marked as suppressed by the user.
|
java.util.List<java.lang.String> |
getMetadata()
Additional information about the identified resource.
|
java.lang.String |
getRegion()
The AWS region in which the identified resource is located.
|
java.lang.String |
getResourceId()
The unique identifier for the identified resource.
|
java.lang.String |
getStatus()
The status code for the resource identified in the Trusted Advisor check.
|
int |
hashCode() |
java.lang.Boolean |
isSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because
it was marked as suppressed by the user.
|
void |
setIsSuppressed(java.lang.Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor because
it was marked as suppressed by the user.
|
void |
setMetadata(java.util.Collection<java.lang.String> metadata)
Additional information about the identified resource.
|
void |
setRegion(java.lang.String region)
The AWS region in which the identified resource is located.
|
void |
setResourceId(java.lang.String resourceId)
The unique identifier for the identified resource.
|
void |
setStatus(java.lang.String status)
The status code for the resource identified in the Trusted Advisor check.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorResourceDetail |
withIsSuppressed(java.lang.Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor because
it was marked as suppressed by the user.
|
TrustedAdvisorResourceDetail |
withMetadata(java.util.Collection<java.lang.String> metadata)
Additional information about the identified resource.
|
TrustedAdvisorResourceDetail |
withMetadata(java.lang.String... metadata)
Additional information about the identified resource.
|
TrustedAdvisorResourceDetail |
withRegion(java.lang.String region)
The AWS region in which the identified resource is located.
|
TrustedAdvisorResourceDetail |
withResourceId(java.lang.String resourceId)
The unique identifier for the identified resource.
|
TrustedAdvisorResourceDetail |
withStatus(java.lang.String status)
The status code for the resource identified in the Trusted Advisor check.
|
private java.lang.String status
The status code for the resource identified in the Trusted Advisor check.
private java.lang.String region
The AWS region in which the identified resource is located.
private java.lang.String resourceId
The unique identifier for the identified resource.
private java.lang.Boolean isSuppressed
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
private SdkInternalList<java.lang.String> metadata
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. 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 setStatus(java.lang.String status)
The status code for the resource identified in the Trusted Advisor check.
status
- The status code for the resource identified in the Trusted Advisor
check.public java.lang.String getStatus()
The status code for the resource identified in the Trusted Advisor check.
public TrustedAdvisorResourceDetail withStatus(java.lang.String status)
The status code for the resource identified in the Trusted Advisor check.
status
- The status code for the resource identified in the Trusted Advisor
check.public void setRegion(java.lang.String region)
The AWS region in which the identified resource is located.
region
- The AWS region in which the identified resource is located.public java.lang.String getRegion()
The AWS region in which the identified resource is located.
public TrustedAdvisorResourceDetail withRegion(java.lang.String region)
The AWS region in which the identified resource is located.
region
- The AWS region in which the identified resource is located.public void setResourceId(java.lang.String resourceId)
The unique identifier for the identified resource.
resourceId
- The unique identifier for the identified resource.public java.lang.String getResourceId()
The unique identifier for the identified resource.
public TrustedAdvisorResourceDetail withResourceId(java.lang.String resourceId)
The unique identifier for the identified resource.
resourceId
- The unique identifier for the identified resource.public void setIsSuppressed(java.lang.Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.public java.lang.Boolean getIsSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
public TrustedAdvisorResourceDetail withIsSuppressed(java.lang.Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.public java.lang.Boolean isSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
public java.util.List<java.lang.String> getMetadata()
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. 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)
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
metadata
- Additional information about the identified resource. The exact
metadata and its order can be obtained by inspecting the
TrustedAdvisorCheckDescription object returned by the call
to DescribeTrustedAdvisorChecks. Metadata contains
all the data that is shown in the Excel download, even in those
cases where the UI shows just summary data.public TrustedAdvisorResourceDetail withMetadata(java.lang.String... metadata)
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. 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
- Additional information about the identified resource. The exact
metadata and its order can be obtained by inspecting the
TrustedAdvisorCheckDescription object returned by the call
to DescribeTrustedAdvisorChecks. Metadata contains
all the data that is shown in the Excel download, even in those
cases where the UI shows just summary data.public TrustedAdvisorResourceDetail withMetadata(java.util.Collection<java.lang.String> metadata)
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
metadata
- Additional information about the identified resource. The exact
metadata and its order can be obtained by inspecting the
TrustedAdvisorCheckDescription object returned by the call
to DescribeTrustedAdvisorChecks. 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 TrustedAdvisorResourceDetail clone()
clone
in class java.lang.Object