Class TrustedAdvisorResourceDetail
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a resource identified by a Trusted Advisor check.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.Additional information about the identified resource.The AWS region in which the identified resource is located.The unique identifier for the identified resource.The status code for the resource identified in the Trusted Advisor check.int
hashCode()
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
The AWS region in which the identified resource is located.void
setResourceId
(String resourceId) The unique identifier for the identified resource.void
The status code for the resource identified in the Trusted Advisor check.toString()
Returns a string representation of this object; useful for testing and debugging.withIsSuppressed
(Boolean isSuppressed) Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.withMetadata
(String... metadata) Additional information about the identified resource.withMetadata
(Collection<String> metadata) Additional information about the identified resource.withRegion
(String region) The AWS region in which the identified resource is located.withResourceId
(String resourceId) The unique identifier for the identified resource.withStatus
(String status) The status code for the resource identified in the Trusted Advisor check.
-
Constructor Details
-
TrustedAdvisorResourceDetail
public TrustedAdvisorResourceDetail()
-
-
Method Details
-
setStatus
The status code for the resource identified in the Trusted Advisor check.
- Parameters:
status
- The status code for the resource identified in the Trusted Advisor check.
-
getStatus
The status code for the resource identified in the Trusted Advisor check.
- Returns:
- The status code for the resource identified in the Trusted Advisor check.
-
withStatus
The status code for the resource identified in the Trusted Advisor check.
- Parameters:
status
- The status code for the resource identified in the Trusted Advisor check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegion
The AWS region in which the identified resource is located.
- Parameters:
region
- The AWS region in which the identified resource is located.
-
getRegion
The AWS region in which the identified resource is located.
- Returns:
- The AWS region in which the identified resource is located.
-
withRegion
The AWS region in which the identified resource is located.
- Parameters:
region
- The AWS region in which the identified resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
The unique identifier for the identified resource.
- Parameters:
resourceId
- The unique identifier for the identified resource.
-
getResourceId
The unique identifier for the identified resource.
- Returns:
- The unique identifier for the identified resource.
-
withResourceId
The unique identifier for the identified resource.
- Parameters:
resourceId
- The unique identifier for the identified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsSuppressed
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
- Parameters:
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
-
getIsSuppressed
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
- Returns:
- Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
-
withIsSuppressed
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
- Parameters:
isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.- Returns:
- 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.
- Returns:
- Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
-
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.
- Returns:
- 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.
-
setMetadata
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.
- Parameters:
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.
-
withMetadata
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)
orwithMetadata(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMetadata
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-