Class ConfigRuleEvaluationStatus

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class ConfigRuleEvaluationStatus
    extends Object
    implements Serializable, Cloneable

    Status information for your AWS managed Config 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 customer managed Config rules.

    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigRuleEvaluationStatus

        public ConfigRuleEvaluationStatus()
    • Method Detail

      • setConfigRuleName

        public void setConfigRuleName​(String configRuleName)

        The name of the AWS Config rule.

        Parameters:
        configRuleName - The name of the AWS Config rule.
      • getConfigRuleName

        public String getConfigRuleName()

        The name of the AWS Config rule.

        Returns:
        The name of the AWS Config rule.
      • withConfigRuleName

        public ConfigRuleEvaluationStatus withConfigRuleName​(String configRuleName)

        The name of the AWS Config rule.

        Parameters:
        configRuleName - The name of the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfigRuleArn

        public void setConfigRuleArn​(String configRuleArn)

        The Amazon Resource Name (ARN) of the AWS Config rule.

        Parameters:
        configRuleArn - The Amazon Resource Name (ARN) of the AWS Config rule.
      • getConfigRuleArn

        public String getConfigRuleArn()

        The Amazon Resource Name (ARN) of the AWS Config rule.

        Returns:
        The Amazon Resource Name (ARN) of the AWS Config rule.
      • withConfigRuleArn

        public ConfigRuleEvaluationStatus withConfigRuleArn​(String configRuleArn)

        The Amazon Resource Name (ARN) of the AWS Config rule.

        Parameters:
        configRuleArn - The Amazon Resource Name (ARN) of the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfigRuleId

        public void setConfigRuleId​(String configRuleId)

        The ID of the AWS Config rule.

        Parameters:
        configRuleId - The ID of the AWS Config rule.
      • getConfigRuleId

        public String getConfigRuleId()

        The ID of the AWS Config rule.

        Returns:
        The ID of the AWS Config rule.
      • withConfigRuleId

        public ConfigRuleEvaluationStatus withConfigRuleId​(String configRuleId)

        The ID of the AWS Config rule.

        Parameters:
        configRuleId - The ID of the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastSuccessfulInvocationTime

        public void setLastSuccessfulInvocationTime​(Date lastSuccessfulInvocationTime)

        The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.

        Parameters:
        lastSuccessfulInvocationTime - The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.
      • getLastSuccessfulInvocationTime

        public Date getLastSuccessfulInvocationTime()

        The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.

        Returns:
        The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.
      • withLastSuccessfulInvocationTime

        public ConfigRuleEvaluationStatus withLastSuccessfulInvocationTime​(Date lastSuccessfulInvocationTime)

        The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.

        Parameters:
        lastSuccessfulInvocationTime - The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastFailedInvocationTime

        public void setLastFailedInvocationTime​(Date lastFailedInvocationTime)

        The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.

        Parameters:
        lastFailedInvocationTime - The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.
      • getLastFailedInvocationTime

        public Date getLastFailedInvocationTime()

        The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.

        Returns:
        The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.
      • withLastFailedInvocationTime

        public ConfigRuleEvaluationStatus withLastFailedInvocationTime​(Date lastFailedInvocationTime)

        The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.

        Parameters:
        lastFailedInvocationTime - The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastSuccessfulEvaluationTime

        public void setLastSuccessfulEvaluationTime​(Date lastSuccessfulEvaluationTime)

        The time that AWS Config last successfully evaluated your AWS resources against the rule.

        Parameters:
        lastSuccessfulEvaluationTime - The time that AWS Config last successfully evaluated your AWS resources against the rule.
      • getLastSuccessfulEvaluationTime

        public Date getLastSuccessfulEvaluationTime()

        The time that AWS Config last successfully evaluated your AWS resources against the rule.

        Returns:
        The time that AWS Config last successfully evaluated your AWS resources against the rule.
      • withLastSuccessfulEvaluationTime

        public ConfigRuleEvaluationStatus withLastSuccessfulEvaluationTime​(Date lastSuccessfulEvaluationTime)

        The time that AWS Config last successfully evaluated your AWS resources against the rule.

        Parameters:
        lastSuccessfulEvaluationTime - The time that AWS Config last successfully evaluated your AWS resources against the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastFailedEvaluationTime

        public void setLastFailedEvaluationTime​(Date lastFailedEvaluationTime)

        The time that AWS Config last failed to evaluate your AWS resources against the rule.

        Parameters:
        lastFailedEvaluationTime - The time that AWS Config last failed to evaluate your AWS resources against the rule.
      • getLastFailedEvaluationTime

        public Date getLastFailedEvaluationTime()

        The time that AWS Config last failed to evaluate your AWS resources against the rule.

        Returns:
        The time that AWS Config last failed to evaluate your AWS resources against the rule.
      • withLastFailedEvaluationTime

        public ConfigRuleEvaluationStatus withLastFailedEvaluationTime​(Date lastFailedEvaluationTime)

        The time that AWS Config last failed to evaluate your AWS resources against the rule.

        Parameters:
        lastFailedEvaluationTime - The time that AWS Config last failed to evaluate your AWS resources against the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFirstActivatedTime

        public void setFirstActivatedTime​(Date firstActivatedTime)

        The time that you first activated the AWS Config rule.

        Parameters:
        firstActivatedTime - The time that you first activated the AWS Config rule.
      • getFirstActivatedTime

        public Date getFirstActivatedTime()

        The time that you first activated the AWS Config rule.

        Returns:
        The time that you first activated the AWS Config rule.
      • withFirstActivatedTime

        public ConfigRuleEvaluationStatus withFirstActivatedTime​(Date firstActivatedTime)

        The time that you first activated the AWS Config rule.

        Parameters:
        firstActivatedTime - The time that you first activated the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastErrorCode

        public void setLastErrorCode​(String lastErrorCode)

        The error code that AWS Config returned when the rule last failed.

        Parameters:
        lastErrorCode - The error code that AWS Config returned when the rule last failed.
      • getLastErrorCode

        public String getLastErrorCode()

        The error code that AWS Config returned when the rule last failed.

        Returns:
        The error code that AWS Config returned when the rule last failed.
      • withLastErrorCode

        public ConfigRuleEvaluationStatus withLastErrorCode​(String lastErrorCode)

        The error code that AWS Config returned when the rule last failed.

        Parameters:
        lastErrorCode - The error code that AWS Config returned when the rule last failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastErrorMessage

        public void setLastErrorMessage​(String lastErrorMessage)

        The error message that AWS Config returned when the rule last failed.

        Parameters:
        lastErrorMessage - The error message that AWS Config returned when the rule last failed.
      • getLastErrorMessage

        public String getLastErrorMessage()

        The error message that AWS Config returned when the rule last failed.

        Returns:
        The error message that AWS Config returned when the rule last failed.
      • withLastErrorMessage

        public ConfigRuleEvaluationStatus withLastErrorMessage​(String lastErrorMessage)

        The error message that AWS Config returned when the rule last failed.

        Parameters:
        lastErrorMessage - The error message that AWS Config returned when the rule last failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFirstEvaluationStarted

        public void setFirstEvaluationStarted​(Boolean firstEvaluationStarted)

        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
        Parameters:
        firstEvaluationStarted - Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
      • getFirstEvaluationStarted

        public Boolean getFirstEvaluationStarted()

        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
        Returns:
        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
      • withFirstEvaluationStarted

        public ConfigRuleEvaluationStatus withFirstEvaluationStarted​(Boolean firstEvaluationStarted)

        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
        Parameters:
        firstEvaluationStarted - Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isFirstEvaluationStarted

        public Boolean isFirstEvaluationStarted()

        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
        Returns:
        Indicates whether AWS Config has evaluated your resources against the rule at least once.

        • true - AWS Config has evaluated your AWS resources against the rule at least once.
        • false - AWS Config has not once finished evaluating your AWS resources against the rule.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object