@Generated(value="software.amazon.awssdk:codegen") public final class AggregateEvaluationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregateEvaluationResult.Builder,AggregateEvaluationResult>
The details of an AWS Config evaluation for an account ID and region in an aggregator. Provides the AWS resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.
Modifier and Type | Class and Description |
---|---|
static interface |
AggregateEvaluationResult.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accountId()
The 12-digit account ID of the source account.
|
String |
annotation()
Supplementary information about how the agrregate evaluation determined the compliance.
|
String |
awsRegion()
The source region from where the data is aggregated.
|
static AggregateEvaluationResult.Builder |
builder() |
ComplianceType |
complianceType()
The resource compliance status.
|
String |
complianceTypeAsString()
The resource compliance status.
|
Instant |
configRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
EvaluationResultIdentifier |
evaluationResultIdentifier()
Uniquely identifies the evaluation result.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
resultRecordedTime()
The time when AWS Config recorded the aggregate evaluation result.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregateEvaluationResult.Builder> |
serializableBuilderClass() |
AggregateEvaluationResult.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final EvaluationResultIdentifier evaluationResultIdentifier()
Uniquely identifies the evaluation result.
public final ComplianceType complianceType()
The resource compliance status.
For the AggregationEvaluationResult
data type, AWS Config supports only the COMPLIANT
and NON_COMPLIANT
. AWS Config does not support the NOT_APPLICABLE
and
INSUFFICIENT_DATA
value.
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 AggregationEvaluationResult
data type, AWS Config supports only the
COMPLIANT
and NON_COMPLIANT
. AWS Config does not support the
NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
ComplianceType
public final String complianceTypeAsString()
The resource compliance status.
For the AggregationEvaluationResult
data type, AWS Config supports only the COMPLIANT
and NON_COMPLIANT
. AWS Config does not support the NOT_APPLICABLE
and
INSUFFICIENT_DATA
value.
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 AggregationEvaluationResult
data type, AWS Config supports only the
COMPLIANT
and NON_COMPLIANT
. AWS Config does not support the
NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
ComplianceType
public final Instant resultRecordedTime()
The time when AWS Config recorded the aggregate evaluation result.
public final Instant configRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.
public final String annotation()
Supplementary information about how the agrregate evaluation determined the compliance.
public final String accountId()
The 12-digit account ID of the source account.
public final String awsRegion()
The source region from where the data is aggregated.
public AggregateEvaluationResult.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AggregateEvaluationResult.Builder,AggregateEvaluationResult>
public static AggregateEvaluationResult.Builder builder()
public static Class<? extends AggregateEvaluationResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.