Class EvaluationResultQualifier
- java.lang.Object
-
- com.amazonaws.services.config.model.EvaluationResultQualifier
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EvaluationResultQualifier extends Object implements Serializable, Cloneable
Identifies an AWS Config rule that evaluated an AWS resource, and provides the type and ID of the resource that the rule evaluated.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EvaluationResultQualifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationResultQualifier
clone()
boolean
equals(Object obj)
String
getConfigRuleName()
The name of the AWS Config rule that was used in the evaluation.String
getResourceId()
The ID of the evaluated AWS resource.String
getResourceType()
The type of AWS resource that was evaluated.int
hashCode()
void
setConfigRuleName(String configRuleName)
The name of the AWS Config rule that was used in the evaluation.void
setResourceId(String resourceId)
The ID of the evaluated AWS resource.void
setResourceType(String resourceType)
The type of AWS resource that was evaluated.String
toString()
Returns a string representation of this object; useful for testing and debugging.EvaluationResultQualifier
withConfigRuleName(String configRuleName)
The name of the AWS Config rule that was used in the evaluation.EvaluationResultQualifier
withResourceId(String resourceId)
The ID of the evaluated AWS resource.EvaluationResultQualifier
withResourceType(String resourceType)
The type of AWS resource that was evaluated.
-
-
-
Method Detail
-
setConfigRuleName
public void setConfigRuleName(String configRuleName)
The name of the AWS Config rule that was used in the evaluation.
- Parameters:
configRuleName
- The name of the AWS Config rule that was used in the evaluation.
-
getConfigRuleName
public String getConfigRuleName()
The name of the AWS Config rule that was used in the evaluation.
- Returns:
- The name of the AWS Config rule that was used in the evaluation.
-
withConfigRuleName
public EvaluationResultQualifier withConfigRuleName(String configRuleName)
The name of the AWS Config rule that was used in the evaluation.
- Parameters:
configRuleName
- The name of the AWS Config rule that was used in the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceType
public void setResourceType(String resourceType)
The type of AWS resource that was evaluated.
- Parameters:
resourceType
- The type of AWS resource that was evaluated.
-
getResourceType
public String getResourceType()
The type of AWS resource that was evaluated.
- Returns:
- The type of AWS resource that was evaluated.
-
withResourceType
public EvaluationResultQualifier withResourceType(String resourceType)
The type of AWS resource that was evaluated.
- Parameters:
resourceType
- The type of AWS resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
public void setResourceId(String resourceId)
The ID of the evaluated AWS resource.
- Parameters:
resourceId
- The ID of the evaluated AWS resource.
-
getResourceId
public String getResourceId()
The ID of the evaluated AWS resource.
- Returns:
- The ID of the evaluated AWS resource.
-
withResourceId
public EvaluationResultQualifier withResourceId(String resourceId)
The ID of the evaluated AWS resource.
- Parameters:
resourceId
- The ID of the evaluated AWS resource.- 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 EvaluationResultQualifier clone()
-
-