Class AggregateEvaluationResult
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.AggregateEvaluationResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregateEvaluationResult.Builder,AggregateEvaluationResult>
@Generated("software.amazon.awssdk:codegen") public final class AggregateEvaluationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregateEvaluationResult.Builder,AggregateEvaluationResult>
The details of an Config evaluation for an account ID and region in an aggregator. Provides the Amazon Web Services resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregateEvaluationResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The 12-digit account ID of the source account.Stringannotation()Supplementary information about how the agrregate evaluation determined the compliance.StringawsRegion()The source region from where the data is aggregated.static AggregateEvaluationResult.Builderbuilder()ComplianceTypecomplianceType()The resource compliance status.StringcomplianceTypeAsString()The resource compliance status.InstantconfigRuleInvokedTime()The time when the Config rule evaluated the Amazon Web Services resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EvaluationResultIdentifierevaluationResultIdentifier()Uniquely identifies the evaluation result.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantresultRecordedTime()The time when Config recorded the aggregate evaluation result.List<SdkField<?>>sdkFields()static Class<? extends AggregateEvaluationResult.Builder>serializableBuilderClass()AggregateEvaluationResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
evaluationResultIdentifier
public final EvaluationResultIdentifier evaluationResultIdentifier()
Uniquely identifies the evaluation result.
- Returns:
- Uniquely identifies the evaluation result.
-
complianceType
public final ComplianceType complianceType()
The resource compliance status.
For the
AggregationEvaluationResultdata type, Config supports only theCOMPLIANTandNON_COMPLIANT. Config does not support theNOT_APPLICABLEandINSUFFICIENT_DATAvalue.If the service returns an enum value that is not available in the current SDK version,
complianceTypewill returnComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceTypeAsString().- Returns:
- The resource compliance status.
For the
AggregationEvaluationResultdata type, Config supports only theCOMPLIANTandNON_COMPLIANT. Config does not support theNOT_APPLICABLEandINSUFFICIENT_DATAvalue. - See Also:
ComplianceType
-
complianceTypeAsString
public final String complianceTypeAsString()
The resource compliance status.
For the
AggregationEvaluationResultdata type, Config supports only theCOMPLIANTandNON_COMPLIANT. Config does not support theNOT_APPLICABLEandINSUFFICIENT_DATAvalue.If the service returns an enum value that is not available in the current SDK version,
complianceTypewill returnComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceTypeAsString().- Returns:
- The resource compliance status.
For the
AggregationEvaluationResultdata type, Config supports only theCOMPLIANTandNON_COMPLIANT. Config does not support theNOT_APPLICABLEandINSUFFICIENT_DATAvalue. - See Also:
ComplianceType
-
resultRecordedTime
public final Instant resultRecordedTime()
The time when Config recorded the aggregate evaluation result.
- Returns:
- The time when Config recorded the aggregate evaluation result.
-
configRuleInvokedTime
public final Instant configRuleInvokedTime()
The time when the Config rule evaluated the Amazon Web Services resource.
- Returns:
- The time when the Config rule evaluated the Amazon Web Services resource.
-
annotation
public final String annotation()
Supplementary information about how the agrregate evaluation determined the compliance.
- Returns:
- Supplementary information about how the agrregate evaluation determined the compliance.
-
accountId
public final String accountId()
The 12-digit account ID of the source account.
- Returns:
- The 12-digit account ID of the source account.
-
awsRegion
public final String awsRegion()
The source region from where the data is aggregated.
- Returns:
- The source region from where the data is aggregated.
-
toBuilder
public AggregateEvaluationResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregateEvaluationResult.Builder,AggregateEvaluationResult>
-
builder
public static AggregateEvaluationResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregateEvaluationResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-