Class Evaluation
- java.lang.Object
-
- com.amazonaws.services.config.model.Evaluation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Evaluation extends Object implements Serializable, Cloneable
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Evaluation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Evaluation
clone()
boolean
equals(Object obj)
String
getAnnotation()
Supplementary information about how the evaluation determined the compliance.String
getComplianceResourceId()
The ID of the AWS resource that was evaluated.String
getComplianceResourceType()
The type of AWS resource that was evaluated.String
getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.Date
getOrderingTimestamp()
The time of the event in AWS Config that triggered the evaluation.int
hashCode()
void
setAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.void
setComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.void
setComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.void
setComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.void
setComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.void
setOrderingTimestamp(Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation.String
toString()
Returns a string representation of this object; useful for testing and debugging.Evaluation
withAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.Evaluation
withComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.Evaluation
withComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.Evaluation
withComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.Evaluation
withComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.Evaluation
withOrderingTimestamp(Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation.
-
-
-
Method Detail
-
setComplianceResourceType
public void setComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.
- Parameters:
complianceResourceType
- The type of AWS resource that was evaluated.
-
getComplianceResourceType
public String getComplianceResourceType()
The type of AWS resource that was evaluated.
- Returns:
- The type of AWS resource that was evaluated.
-
withComplianceResourceType
public Evaluation withComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.
- Parameters:
complianceResourceType
- The type of AWS resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplianceResourceId
public void setComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.
- Parameters:
complianceResourceId
- The ID of the AWS resource that was evaluated.
-
getComplianceResourceId
public String getComplianceResourceId()
The ID of the AWS resource that was evaluated.
- Returns:
- The ID of the AWS resource that was evaluated.
-
withComplianceResourceId
public Evaluation withComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.
- Parameters:
complianceResourceId
- The ID of the AWS resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplianceType
public void setComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- See Also:
ComplianceType
-
getComplianceType
public String getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Indicates whether the AWS resource complies with the AWS Config
rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config. - See Also:
ComplianceType
-
withComplianceType
public Evaluation withComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
setComplianceType
public void setComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- See Also:
ComplianceType
-
withComplianceType
public Evaluation withComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
setAnnotation
public void setAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation
- Supplementary information about how the evaluation determined the compliance.
-
getAnnotation
public String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
- Returns:
- Supplementary information about how the evaluation determined the compliance.
-
withAnnotation
public Evaluation withAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation
- Supplementary information about how the evaluation determined the compliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOrderingTimestamp
public void setOrderingTimestamp(Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Parameters:
orderingTimestamp
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
-
getOrderingTimestamp
public Date getOrderingTimestamp()
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Returns:
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
-
withOrderingTimestamp
public Evaluation withOrderingTimestamp(Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Parameters:
orderingTimestamp
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.- 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 Evaluation clone()
-
-