Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class TrustedAdvisorResourceDetail

java.lang.Object
  extended by com.amazonaws.services.support.model.TrustedAdvisorResourceDetail
All Implemented Interfaces:
Serializable

public class TrustedAdvisorResourceDetail
extends Object
implements Serializable

Structure that contains information about the resource to which the Trusted Advisor check pertains.

See Also:
Serialized Form

Constructor Summary
TrustedAdvisorResourceDetail()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getIsSuppressed()
          Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.
 List<String> getMetadata()
          Additional information about the identified resource.
 String getRegion()
          AWS region in which the identified resource is located.
 String getResourceId()
          Unique identifier for the identified resource.
 String getStatus()
          Status code for the resource identified in the Trusted Advisor check.
 int hashCode()
           
 Boolean isSuppressed()
          Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.
 void setIsSuppressed(Boolean isSuppressed)
          Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.
 void setMetadata(Collection<String> metadata)
          Additional information about the identified resource.
 void setRegion(String region)
          AWS region in which the identified resource is located.
 void setResourceId(String resourceId)
          Unique identifier for the identified resource.
 void setStatus(String status)
          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)
          Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.
 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)
          AWS region in which the identified resource is located.
 TrustedAdvisorResourceDetail withResourceId(String resourceId)
          Unique identifier for the identified resource.
 TrustedAdvisorResourceDetail withStatus(String status)
          Status code for the resource identified in the Trusted Advisor check.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrustedAdvisorResourceDetail

public TrustedAdvisorResourceDetail()
Method Detail

getStatus

public String getStatus()
Status code for the resource identified in the Trusted Advisor check.

Returns:
Status code for the resource identified in the Trusted Advisor check.

setStatus

public void setStatus(String status)
Status code for the resource identified in the Trusted Advisor check.

Parameters:
status - Status code for the resource identified in the Trusted Advisor check.

withStatus

public TrustedAdvisorResourceDetail withStatus(String status)
Status code for the resource identified in the Trusted Advisor check.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - Status code for the resource identified in the Trusted Advisor check.
Returns:
A reference to this updated object so that method calls can be chained together.

getRegion

public String getRegion()
AWS region in which the identified resource is located.

Returns:
AWS region in which the identified resource is located.

setRegion

public void setRegion(String region)
AWS region in which the identified resource is located.

Parameters:
region - AWS region in which the identified resource is located.

withRegion

public TrustedAdvisorResourceDetail withRegion(String region)
AWS region in which the identified resource is located.

Returns a reference to this object so that method calls can be chained together.

Parameters:
region - AWS region in which the identified resource is located.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceId

public String getResourceId()
Unique identifier for the identified resource.

Returns:
Unique identifier for the identified resource.

setResourceId

public void setResourceId(String resourceId)
Unique identifier for the identified resource.

Parameters:
resourceId - Unique identifier for the identified resource.

withResourceId

public TrustedAdvisorResourceDetail withResourceId(String resourceId)
Unique identifier for the identified resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceId - Unique identifier for the identified resource.
Returns:
A reference to this updated object so that method calls can be chained together.

isSuppressed

public Boolean isSuppressed()
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

Returns:
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

setIsSuppressed

public void setIsSuppressed(Boolean isSuppressed)
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

Parameters:
isSuppressed - Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

withIsSuppressed

public TrustedAdvisorResourceDetail withIsSuppressed(Boolean isSuppressed)
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

Returns a reference to this object so that method calls can be chained together.

Parameters:
isSuppressed - Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsSuppressed

public Boolean getIsSuppressed()
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

Returns:
Indicates whether the specified AWS resource has had its participation in Trusted Advisor checks suppressed.

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.

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.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.