Class TrustedAdvisorResourceDetail
- java.lang.Object
-
- com.amazonaws.services.support.model.TrustedAdvisorResourceDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TrustedAdvisorResourceDetail extends Object implements Serializable, Cloneable
Contains information about a resource identified by a Trusted Advisor check.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrustedAdvisorResourceDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
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(String... metadata)
Additional information about the identified resource.TrustedAdvisorResourceDetail
withMetadata(Collection<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.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
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
public String 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
public TrustedAdvisorResourceDetail withStatus(String status)
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
public void setRegion(String region)
The AWS region in which the identified resource is located.
- Parameters:
region
- The AWS region in which the identified resource is located.
-
getRegion
public String getRegion()
The AWS region in which the identified resource is located.
- Returns:
- The AWS region in which the identified resource is located.
-
withRegion
public TrustedAdvisorResourceDetail withRegion(String region)
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
public void setResourceId(String resourceId)
The unique identifier for the identified resource.
- Parameters:
resourceId
- The unique identifier for the identified resource.
-
getResourceId
public String getResourceId()
The unique identifier for the identified resource.
- Returns:
- The unique identifier for the identified resource.
-
withResourceId
public TrustedAdvisorResourceDetail withResourceId(String resourceId)
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
public void setIsSuppressed(Boolean isSuppressed)
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
public Boolean 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
public TrustedAdvisorResourceDetail withIsSuppressed(Boolean isSuppressed)
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
public Boolean 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
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.
- 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
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.
- 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
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)
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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrustedAdvisorResourceDetail clone()
-
-