public class TrustedAdvisorResourceDetail extends Object implements Serializable
Contains information about a resource identified by a Trusted Advisor check.
Constructor and Description |
---|
TrustedAdvisorResourceDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.
|
List<String> |
getMetadata()
Additional information about the identified resource.
|
String |
getRegion()
The AWS region in which the identified resource is located.
|
String |
getResourceId()
The unique identifier for the identified resource.
|
String |
getStatus()
The status code for the resource identified in the Trusted Advisor
check.
|
int |
hashCode() |
Boolean |
isSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.
|
void |
setIsSuppressed(Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.
|
void |
setMetadata(Collection<String> metadata)
Additional information about the identified resource.
|
void |
setRegion(String region)
The AWS region in which the identified resource is located.
|
void |
setResourceId(String resourceId)
The unique identifier for the identified resource.
|
void |
setStatus(String status)
The status code for the resource identified in the Trusted Advisor
check.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorResourceDetail |
withIsSuppressed(Boolean isSuppressed)
Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.
|
TrustedAdvisorResourceDetail |
withMetadata(Collection<String> metadata)
Additional information about the identified resource.
|
TrustedAdvisorResourceDetail |
withMetadata(String... metadata)
Additional information about the identified resource.
|
TrustedAdvisorResourceDetail |
withRegion(String region)
The AWS region in which the identified resource is located.
|
TrustedAdvisorResourceDetail |
withResourceId(String resourceId)
The unique identifier for the identified resource.
|
TrustedAdvisorResourceDetail |
withStatus(String status)
The status code for the resource identified in the Trusted Advisor
check.
|
public String getStatus()
public void setStatus(String status)
status
- The status code for the resource identified in the Trusted Advisor
check.public TrustedAdvisorResourceDetail withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status code for the resource identified in the Trusted Advisor
check.public String getRegion()
public void setRegion(String region)
region
- The AWS region in which the identified resource is located.public TrustedAdvisorResourceDetail withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
region
- The AWS region in which the identified resource is located.public String getResourceId()
public void setResourceId(String resourceId)
resourceId
- The unique identifier for the identified resource.public TrustedAdvisorResourceDetail withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
resourceId
- The unique identifier for the identified resource.public Boolean isSuppressed()
public void setIsSuppressed(Boolean isSuppressed)
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.public TrustedAdvisorResourceDetail withIsSuppressed(Boolean isSuppressed)
Returns a reference to this object so that method calls can be chained together.
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.public Boolean getIsSuppressed()
public List<String> getMetadata()
public void setMetadata(Collection<String> metadata)
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.public TrustedAdvisorResourceDetail withMetadata(String... metadata)
Returns a reference to this object so that method calls can be chained together.
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.public TrustedAdvisorResourceDetail withMetadata(Collection<String> metadata)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.