@Generated(value="software.amazon.awssdk:codegen") public class Evaluation extends Object implements StructuredPojo, ToCopyableBuilder<Evaluation.Builder,Evaluation>
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
Modifier and Type | Class and Description |
---|---|
static interface |
Evaluation.Builder |
Modifier and Type | Method and Description |
---|---|
String |
annotation()
Supplementary information about how the evaluation determined the compliance.
|
static Evaluation.Builder |
builder() |
String |
complianceResourceId()
The ID of the AWS resource that was evaluated.
|
String |
complianceResourceType()
The type of AWS resource that was evaluated.
|
ComplianceType |
complianceType()
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
|
String |
complianceTypeString()
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Instant |
orderingTimestamp()
The time of the event in AWS Config that triggered the evaluation.
|
static Class<? extends Evaluation.Builder> |
serializableBuilderClass() |
Evaluation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String complianceResourceType()
The type of AWS resource that was evaluated.
public String complianceResourceId()
The ID of the AWS resource that was evaluated.
public 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.
If the service returns an enum value that is not available in the current SDK version, complianceType
will return ComplianceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from complianceTypeString()
.
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 complianceTypeString()
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.
If the service returns an enum value that is not available in the current SDK version, complianceType
will return ComplianceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from complianceTypeString()
.
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 annotation()
Supplementary information about how the evaluation determined the compliance.
public Instant 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 triggered the evaluation at the frequency that you specified (for example, every 24 hours).
public Evaluation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Evaluation.Builder,Evaluation>
public static Evaluation.Builder builder()
public static Class<? extends Evaluation.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.