Interface ApprovalRule.Builder

    • Method Detail

      • approvalRuleId

        ApprovalRule.Builder approvalRuleId​(String approvalRuleId)

        The system-generated ID of the approval rule.

        Parameters:
        approvalRuleId - The system-generated ID of the approval rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRuleName

        ApprovalRule.Builder approvalRuleName​(String approvalRuleName)

        The name of the approval rule.

        Parameters:
        approvalRuleName - The name of the approval rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRuleContent

        ApprovalRule.Builder approvalRuleContent​(String approvalRuleContent)

        The content of the approval rule.

        Parameters:
        approvalRuleContent - The content of the approval rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleContentSha256

        ApprovalRule.Builder ruleContentSha256​(String ruleContentSha256)

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

        Parameters:
        ruleContentSha256 - The SHA-256 hash signature for the content of the approval rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        ApprovalRule.Builder lastModifiedDate​(Instant lastModifiedDate)

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

        Parameters:
        lastModifiedDate - The date the approval rule was most recently changed, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        ApprovalRule.Builder creationDate​(Instant creationDate)

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

        Parameters:
        creationDate - The date the approval rule was created, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedUser

        ApprovalRule.Builder lastModifiedUser​(String lastModifiedUser)

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

        Parameters:
        lastModifiedUser - The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • originApprovalRuleTemplate

        ApprovalRule.Builder originApprovalRuleTemplate​(OriginApprovalRuleTemplate originApprovalRuleTemplate)

        The approval rule template used to create the rule.

        Parameters:
        originApprovalRuleTemplate - The approval rule template used to create the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.