Interface SplitCreditRequest.Builder

  • Method Details

    • creditId

      SplitCreditRequest.Builder creditId(String creditId)

      The ID of the credit to split.

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

      The new credits to create, one for each portion, in the order listed.

      Parameters:
      portions - The new credits to create, one for each portion, in the order listed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portions

      The new credits to create, one for each portion, in the order listed.

      Parameters:
      portions - The new credits to create, one for each portion, in the order listed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portions

      The new credits to create, one for each portion, in the order listed.

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

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

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

      SplitCreditRequest.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 any credit.

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

      SplitCreditRequest.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.