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 EvaluationResultQualifierclone()booleanequals(Object obj)StringgetConfigRuleName()The name of the AWS Config rule that was used in the evaluation.StringgetResourceId()The ID of the evaluated AWS resource.StringgetResourceType()The type of AWS resource that was evaluated.inthashCode()voidsetConfigRuleName(String configRuleName)The name of the AWS Config rule that was used in the evaluation.voidsetResourceId(String resourceId)The ID of the evaluated AWS resource.voidsetResourceType(String resourceType)The type of AWS resource that was evaluated.StringtoString()Returns a string representation of this object; useful for testing and debugging.EvaluationResultQualifierwithConfigRuleName(String configRuleName)The name of the AWS Config rule that was used in the evaluation.EvaluationResultQualifierwithResourceId(String resourceId)The ID of the evaluated AWS resource.EvaluationResultQualifierwithResourceType(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EvaluationResultQualifier clone()
-
-