Interface TransferCreditResponse.Builder

  • Method Details

    • sourceCreditId

      TransferCreditResponse.Builder sourceCreditId(String sourceCreditId)

      The ID of the transferred credit. The credit keeps this ID.

      Parameters:
      sourceCreditId - The ID of the transferred credit. The credit keeps this ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • newCreditId

      TransferCreditResponse.Builder newCreditId(String newCreditId)

      Always the same as sourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.

      Parameters:
      newCreditId - Always the same as sourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationAccountId

      TransferCreditResponse.Builder destinationAccountId(String destinationAccountId)

      The Amazon Web Services account ID that owns the credit after the transfer.

      Parameters:
      destinationAccountId - The Amazon Web Services account ID that owns the credit after the transfer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amount

      The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.

      Parameters:
      amount - The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Specifies whether the request was a dry run. If true, the operation didn't change the credit.

      Parameters:
      dryRun - Specifies whether the request was a dry run. If true, the operation didn't change the credit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.