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.
Constructor and Description |
---|
Evaluation() |
Modifier and Type | Method and 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.
|
public void setComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.
complianceResourceType
- The type of AWS resource that was evaluated.public String getComplianceResourceType()
The type of AWS resource that was evaluated.
public Evaluation withComplianceResourceType(String complianceResourceType)
The type of AWS resource that was evaluated.
complianceResourceType
- The type of AWS resource that was evaluated.public void setComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.
complianceResourceId
- The ID of the AWS resource that was evaluated.public String getComplianceResourceId()
The ID of the AWS resource that was evaluated.
public Evaluation withComplianceResourceId(String complianceResourceId)
The ID of the AWS resource that was evaluated.
complianceResourceId
- The ID of the AWS resource that was evaluated.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 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 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(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(String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.public String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
public Evaluation withAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public Evaluation clone()
Copyright © 2018. All rights reserved.