Interface AccountInfo.Builder

  • Method Details

    • accountId

      AccountInfo.Builder accountId(String accountId)

      The ID of the Amazon Web Services account.

      Parameters:
      accountId - The ID of the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      AccountInfo.Builder status(String status)

      The enrollment status of the account: Active, Inactive, Pending, or Failed.

      Parameters:
      status - The enrollment status of the account: Active, Inactive, Pending, or Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The enrollment status of the account: Active, Inactive, Pending, or Failed.

      Parameters:
      status - The enrollment status of the account: Active, Inactive, Pending, or Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • organizationRuleMode

      AccountInfo.Builder organizationRuleMode(String organizationRuleMode)

      Specifies whether the management account can create Automation rules that implement optimization actions for this account.

      Parameters:
      organizationRuleMode - Specifies whether the management account can create Automation rules that implement optimization actions for this account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • organizationRuleMode

      AccountInfo.Builder organizationRuleMode(OrganizationRuleMode organizationRuleMode)

      Specifies whether the management account can create Automation rules that implement optimization actions for this account.

      Parameters:
      organizationRuleMode - Specifies whether the management account can create Automation rules that implement optimization actions for this account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      AccountInfo.Builder statusReason(String statusReason)

      The reason for the current Automation enrollment status.

      Parameters:
      statusReason - The reason for the current Automation enrollment status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimestamp

      AccountInfo.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)

      The timestamp when the account's Automation enrollment status was last updated.

      Parameters:
      lastUpdatedTimestamp - The timestamp when the account's Automation enrollment status was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.