Interface AccountFreeTrialStatus.Builder

  • Method Details

    • accountId

      AccountFreeTrialStatus.Builder accountId(String accountId)

      The Amazon Web Services account identifier that the free trial statuses apply to.

      Parameters:
      accountId - The Amazon Web Services account identifier that the free trial statuses apply to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluatedAt

      AccountFreeTrialStatus.Builder evaluatedAt(Instant evaluatedAt)

      The date and time at which Security Hub evaluated the free trial statuses for this account. Every status in FreeTrialStatuses reflects this point in time.

      Parameters:
      evaluatedAt - The date and time at which Security Hub evaluated the free trial statuses for this account. Every status in FreeTrialStatuses reflects this point in time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • freeTrialStatuses

      AccountFreeTrialStatus.Builder freeTrialStatuses(Collection<FreeTrialStatus> freeTrialStatuses)

      An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.

      Parameters:
      freeTrialStatuses - An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • freeTrialStatuses

      AccountFreeTrialStatus.Builder freeTrialStatuses(FreeTrialStatus... freeTrialStatuses)

      An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.

      Parameters:
      freeTrialStatuses - An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • freeTrialStatuses

      AccountFreeTrialStatus.Builder freeTrialStatuses(Consumer<FreeTrialStatus.Builder>... freeTrialStatuses)

      An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.

      This is a convenience method that creates an instance of the FreeTrialStatus.Builder avoiding the need to create one manually via FreeTrialStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to freeTrialStatuses(List<FreeTrialStatus>).

      Parameters:
      freeTrialStatuses - a consumer that will call methods on FreeTrialStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: