Interface TransferCreditRequest.Builder

  • Method Details

    • creditId

      The ID of the credit to transfer.

      Parameters:
      creditId - The ID of the credit to transfer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationAccountId

      TransferCreditRequest.Builder destinationAccountId(String destinationAccountId)

      The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.

      Parameters:
      destinationAccountId - The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      TransferCreditRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a ValidationException.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Specifies whether to validate the request and return the result without changing the credit.

      Parameters:
      dryRun - Specifies whether to validate the request and return the result without changing the credit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      TransferCreditRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.