Class ConfigRuleEvaluationStatus
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.ConfigRuleEvaluationStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigRuleEvaluationStatus.Builder,ConfigRuleEvaluationStatus>
@Generated("software.amazon.awssdk:codegen") public final class ConfigRuleEvaluationStatus extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigRuleEvaluationStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigRuleEvaluationStatus.Builderbuilder()StringconfigRuleArn()The Amazon Resource Name (ARN) of the Config rule.StringconfigRuleId()The ID of the Config rule.StringconfigRuleName()The name of the Config rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfirstActivatedTime()The time that you first activated the Config rule.BooleanfirstEvaluationStarted()Indicates whether Config has evaluated your resources against the rule at least once.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastDeactivatedTime()The time that you last turned off the Config rule.StringlastDebugLogDeliveryStatus()The status of the last attempted delivery of a debug log for your Config Custom Policy rules.StringlastDebugLogDeliveryStatusReason()The reason Config was not able to deliver a debug log.InstantlastDebugLogDeliveryTime()The time Config last attempted to deliver a debug log for your Config Custom Policy rules.StringlastErrorCode()The error code that Config returned when the rule last failed.StringlastErrorMessage()The error message that Config returned when the rule last failed.InstantlastFailedEvaluationTime()The time that Config last failed to evaluate your Amazon Web Services resources against the rule.InstantlastFailedInvocationTime()The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.InstantlastSuccessfulEvaluationTime()The time that Config last successfully evaluated your Amazon Web Services resources against the rule.InstantlastSuccessfulInvocationTime()The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.List<SdkField<?>>sdkFields()static Class<? extends ConfigRuleEvaluationStatus.Builder>serializableBuilderClass()ConfigRuleEvaluationStatus.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
-
configRuleName
public final String configRuleName()
The name of the Config rule.
- Returns:
- The name of the Config rule.
-
configRuleArn
public final String configRuleArn()
The Amazon Resource Name (ARN) of the Config rule.
- Returns:
- The Amazon Resource Name (ARN) of the Config rule.
-
configRuleId
public final String configRuleId()
The ID of the Config rule.
- Returns:
- The ID of the Config rule.
-
lastSuccessfulInvocationTime
public final Instant 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
public final Instant 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
public final Instant 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
public final Instant 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
public final Instant firstActivatedTime()
The time that you first activated the Config rule.
- Returns:
- The time that you first activated the Config rule.
-
lastDeactivatedTime
public final Instant lastDeactivatedTime()
The time that you last turned off the Config rule.
- Returns:
- The time that you last turned off the Config rule.
-
lastErrorCode
public final String 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
public final String 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
public final Boolean 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
public final String lastDebugLogDeliveryStatus()
The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either
SuccessfulorFailed.- Returns:
- The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either
SuccessfulorFailed.
-
lastDebugLogDeliveryStatusReason
public final String 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
public final Instant 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
public ConfigRuleEvaluationStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigRuleEvaluationStatus.Builder,ConfigRuleEvaluationStatus>
-
builder
public static ConfigRuleEvaluationStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigRuleEvaluationStatus.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.
-
-