Class ApprovalRule

    • Method Detail

      • approvalRuleId

        public final String approvalRuleId()

        The system-generated ID of the approval rule.

        Returns:
        The system-generated ID of the approval rule.
      • approvalRuleName

        public final String approvalRuleName()

        The name of the approval rule.

        Returns:
        The name of the approval rule.
      • approvalRuleContent

        public final String approvalRuleContent()

        The content of the approval rule.

        Returns:
        The content of the approval rule.
      • ruleContentSha256

        public final String ruleContentSha256()

        The SHA-256 hash signature for the content of the approval rule.

        Returns:
        The SHA-256 hash signature for the content of the approval rule.
      • lastModifiedDate

        public final Instant lastModifiedDate()

        The date the approval rule was most recently changed, in timestamp format.

        Returns:
        The date the approval rule was most recently changed, in timestamp format.
      • creationDate

        public final Instant creationDate()

        The date the approval rule was created, in timestamp format.

        Returns:
        The date the approval rule was created, in timestamp format.
      • lastModifiedUser

        public final String lastModifiedUser()

        The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

        Returns:
        The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
      • originApprovalRuleTemplate

        public final OriginApprovalRuleTemplate originApprovalRuleTemplate()

        The approval rule template used to create the rule.

        Returns:
        The approval rule template used to create the rule.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)