Interface BillingPreferenceSummary.Builder

  • Method Details

    • feature

      The feature this preference belongs to.

      Parameters:
      feature - The feature this preference belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • feature

      The feature this preference belongs to.

      Parameters:
      feature - The feature this preference belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • key

      The preference key. Format depends on the feature.

      Parameters:
      key - The preference key. Format depends on the feature.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The preference value. Valid values: ENABLED or DISABLED.

      Parameters:
      value - The preference value. Valid values: ENABLED or DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The preference value. Valid values: ENABLED or DISABLED.

      Parameters:
      value - The preference value. Valid values: ENABLED or DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountName

      BillingPreferenceSummary.Builder accountName(String accountName)

      The display name of the account. Populated together with accountId; null otherwise.

      Parameters:
      accountName - The display name of the account. Populated together with accountId; null otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      The associated Amazon Web Services account ID. Populated for account-list keys; null otherwise.

      Parameters:
      accountId - The associated Amazon Web Services account ID. Populated for account-list keys; null otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriod

      BillingPreferenceSummary.Builder billingPeriod(BillingPeriod billingPeriod)

      The billing period associated with the preference change. Populated only for the history features RI_SHARING_HISTORY and CREDIT_SHARING_HISTORY.

      Parameters:
      billingPeriod - The billing period associated with the preference change. Populated only for the history features RI_SHARING_HISTORY and CREDIT_SHARING_HISTORY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriod

      default BillingPreferenceSummary.Builder billingPeriod(Consumer<BillingPeriod.Builder> billingPeriod)

      The billing period associated with the preference change. Populated only for the history features RI_SHARING_HISTORY and CREDIT_SHARING_HISTORY.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to billingPeriod(BillingPeriod).

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