Class ConfigRuleEvaluationStatus
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ConfigRuleEvaluationStatus.Builder,
ConfigRuleEvaluationStatus>
Status information for your Config Managed rules and Config Custom Policy rules. The status includes information such as the last time the rule ran, the last time it failed, and the related error for the last failure.
This action does not return status information about Config Custom Lambda rules.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The Amazon Resource Name (ARN) of the Config rule.final String
The ID of the Config rule.final String
The name of the Config rule.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The time that you first activated the Config rule.final Boolean
Indicates whether Config has evaluated your resources against the rule at least once.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The time that you last turned off the Config rule.final String
The status of the last attempted delivery of a debug log for your Config Custom Policy rules.final String
The reason Config was not able to deliver a debug log.final Instant
The time Config last attempted to deliver a debug log for your Config Custom Policy rules.final String
The error code that Config returned when the rule last failed.final String
The error message that Config returned when the rule last failed.final Instant
The time that Config last failed to evaluate your Amazon Web Services resources against the rule.final Instant
The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.final Instant
The time that Config last successfully evaluated your Amazon Web Services resources against the rule.final Instant
The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.static Class
<? extends ConfigRuleEvaluationStatus.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
configRuleName
The name of the Config rule.
- Returns:
- The name of the Config rule.
-
configRuleArn
The Amazon Resource Name (ARN) of the Config rule.
- Returns:
- The Amazon Resource Name (ARN) of the Config rule.
-
configRuleId
The ID of the Config rule.
- Returns:
- The ID of the Config rule.
-
lastSuccessfulInvocationTime
The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.
- Returns:
- The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.
-
lastFailedInvocationTime
The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.
- Returns:
- The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.
-
lastSuccessfulEvaluationTime
The time that Config last successfully evaluated your Amazon Web Services resources against the rule.
- Returns:
- The time that Config last successfully evaluated your Amazon Web Services resources against the rule.
-
lastFailedEvaluationTime
The time that Config last failed to evaluate your Amazon Web Services resources against the rule.
- Returns:
- The time that Config last failed to evaluate your Amazon Web Services resources against the rule.
-
firstActivatedTime
The time that you first activated the Config rule.
- Returns:
- The time that you first activated the Config rule.
-
lastDeactivatedTime
The time that you last turned off the Config rule.
- Returns:
- The time that you last turned off the Config rule.
-
lastErrorCode
The error code that Config returned when the rule last failed.
- Returns:
- The error code that Config returned when the rule last failed.
-
lastErrorMessage
The error message that Config returned when the rule last failed.
- Returns:
- The error message that Config returned when the rule last failed.
-
firstEvaluationStarted
Indicates whether Config has evaluated your resources against the rule at least once.
-
true
- Config has evaluated your Amazon Web Services resources against the rule at least once. -
false
- Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
- Returns:
- Indicates whether Config has evaluated your resources against the rule at least once.
-
true
- Config has evaluated your Amazon Web Services resources against the rule at least once. -
false
- Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
-
-
-
lastDebugLogDeliveryStatus
The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either
Successful
orFailed
.- Returns:
- The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either
Successful
orFailed
.
-
lastDebugLogDeliveryStatusReason
The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
- Returns:
- The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
-
lastDebugLogDeliveryTime
The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
- Returns:
- The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ConfigRuleEvaluationStatus.Builder,
ConfigRuleEvaluationStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-