@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrustedAdvisorResourceDetail extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a resource identified by a Trusted Advisor check.
Constructor and Description |
---|
TrustedAdvisorResourceDetail() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorResourceDetail |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setStatus(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 String getStatus()
The status code for the resource identified in the Trusted Advisor check.
public TrustedAdvisorResourceDetail withStatus(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(String region)
The AWS region in which the identified resource is located.
region
- The AWS region in which the identified resource is located.public String getRegion()
The AWS region in which the identified resource is located.
public TrustedAdvisorResourceDetail withRegion(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(String resourceId)
The unique identifier for the identified resource.
resourceId
- The unique identifier for the identified resource.public String getResourceId()
The unique identifier for the identified resource.
public TrustedAdvisorResourceDetail withResourceId(String resourceId)
The unique identifier for the identified resource.
resourceId
- The unique identifier for the identified resource.public void setIsSuppressed(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 Boolean getIsSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
public TrustedAdvisorResourceDetail withIsSuppressed(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 Boolean isSuppressed()
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
public List<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(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public TrustedAdvisorResourceDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.