public class Evaluation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
annotation
Supplementary information about how the evaluation determined the
compliance.
|
private java.lang.String |
complianceResourceId
The ID of the AWS resource that was evaluated.
|
private java.lang.String |
complianceResourceType
The type of AWS resource that was evaluated.
|
private java.lang.String |
complianceType
Indicates whether the AWS resource complies with the AWS Config rule that
it was evaluated against.
|
private java.util.Date |
orderingTimestamp
The time of the event in AWS Config that triggered the evaluation.
|
Constructor and Description |
---|
Evaluation() |
Modifier and Type | Method and Description |
---|---|
Evaluation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnnotation()
Supplementary information about how the evaluation determined the
compliance.
|
java.lang.String |
getComplianceResourceId()
The ID of the AWS resource that was evaluated.
|
java.lang.String |
getComplianceResourceType()
The type of AWS resource that was evaluated.
|
java.lang.String |
getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that
it was evaluated against.
|
java.util.Date |
getOrderingTimestamp()
The time of the event in AWS Config that triggered the evaluation.
|
int |
hashCode() |
void |
setAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the
compliance.
|
void |
setComplianceResourceId(java.lang.String complianceResourceId)
The ID of the AWS resource that was evaluated.
|
void |
setComplianceResourceType(java.lang.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(java.lang.String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that
it was evaluated against.
|
void |
setOrderingTimestamp(java.util.Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Evaluation |
withAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the
compliance.
|
Evaluation |
withComplianceResourceId(java.lang.String complianceResourceId)
The ID of the AWS resource that was evaluated.
|
Evaluation |
withComplianceResourceType(java.lang.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(java.lang.String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that
it was evaluated against.
|
Evaluation |
withOrderingTimestamp(java.util.Date orderingTimestamp)
The time of the event in AWS Config that triggered the evaluation.
|
private java.lang.String complianceResourceType
The type of AWS resource that was evaluated.
private java.lang.String complianceResourceId
The ID of the AWS resource that was evaluated.
private java.lang.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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
private java.lang.String annotation
Supplementary information about how the evaluation determined the compliance.
private java.util.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.
public void setComplianceResourceType(java.lang.String complianceResourceType)
The type of AWS resource that was evaluated.
complianceResourceType
- The type of AWS resource that was evaluated.public java.lang.String getComplianceResourceType()
The type of AWS resource that was evaluated.
public Evaluation withComplianceResourceType(java.lang.String complianceResourceType)
The type of AWS resource that was evaluated.
complianceResourceType
- The type of AWS resource that was evaluated.public void setComplianceResourceId(java.lang.String complianceResourceId)
The ID of the AWS resource that was evaluated.
complianceResourceId
- The ID of the AWS resource that was evaluated.public java.lang.String getComplianceResourceId()
The ID of the AWS resource that was evaluated.
public Evaluation withComplianceResourceId(java.lang.String complianceResourceId)
The ID of the AWS resource that was evaluated.
complianceResourceId
- The ID of the AWS resource that was evaluated.public void setComplianceType(java.lang.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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
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 the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support
the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value for
ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom Config
rule cannot pass an INSUFFICIENT_DATA
value to AWS
Config.
ComplianceType
public java.lang.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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
For the Evaluation
data type, AWS Config supports
only the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support
the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value for
ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom Config
rule cannot pass an INSUFFICIENT_DATA
value to AWS
Config.
ComplianceType
public Evaluation withComplianceType(java.lang.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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
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 the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support
the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value for
ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom Config
rule cannot pass an INSUFFICIENT_DATA
value to AWS
Config.
ComplianceType
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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
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 the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support
the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value for
ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom Config
rule cannot pass an INSUFFICIENT_DATA
value to AWS
Config.
ComplianceType
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 the
COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept INSUFFICIENT_DATA
as
the value for ComplianceType
from a
PutEvaluations
request. For example, an AWS Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA
value to AWS Config.
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 the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support
the INSUFFICIENT_DATA
value for this data type.
Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value for
ComplianceType
from a PutEvaluations
request. For example, an AWS Lambda function for a custom Config
rule cannot pass an INSUFFICIENT_DATA
value to AWS
Config.
ComplianceType
public void setAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.public java.lang.String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
public Evaluation withAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.public void setOrderingTimestamp(java.util.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.
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.public java.util.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.
public Evaluation withOrderingTimestamp(java.util.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Evaluation clone()
clone
in class java.lang.Object