@Generated(value="software.amazon.awssdk:codegen") public final class Evaluation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Evaluation.Builder,Evaluation>
Identifies an Amazon Web Services resource and indicates whether it complies with the 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 Amazon Web Services resource that was evaluated.
|
String |
complianceResourceType()
The type of Amazon Web Services resource that was evaluated.
|
ComplianceType |
complianceType()
Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against.
|
String |
complianceTypeAsString()
Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
orderingTimestamp()
The time of the event in Config that triggered the evaluation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Evaluation.Builder> |
serializableBuilderClass() |
Evaluation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String complianceResourceType()
The type of Amazon Web Services resource that was evaluated.
public final String complianceResourceId()
The ID of the Amazon Web Services resource that was evaluated.
public final ComplianceType complianceType()
Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against.
For the Evaluation data type, Config supports only the COMPLIANT,
NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the
INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType
from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass
an INSUFFICIENT_DATA value to 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 complianceTypeAsString().
For the Evaluation data type, Config supports only the COMPLIANT,
NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the
INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for
ComplianceType from a PutEvaluations request. For example, an Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.
ComplianceTypepublic final String complianceTypeAsString()
Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against.
For the Evaluation data type, Config supports only the COMPLIANT,
NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the
INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType
from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass
an INSUFFICIENT_DATA value to 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 complianceTypeAsString().
For the Evaluation data type, Config supports only the COMPLIANT,
NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the
INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for
ComplianceType from a PutEvaluations request. For example, an Lambda function
for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.
ComplianceTypepublic final String annotation()
Supplementary information about how the evaluation determined the compliance.
public final Instant orderingTimestamp()
The time of the event in Config that triggered the evaluation. For event-based evaluations, the time indicates when Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
public Evaluation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Evaluation.Builder,Evaluation>public static Evaluation.Builder builder()
public static Class<? extends Evaluation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.