Interface RetryBuildRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeBuildRequest.Builder, CopyableBuilder<RetryBuildRequest.Builder,RetryBuildRequest>, SdkBuilder<RetryBuildRequest.Builder,RetryBuildRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
RetryBuildRequest

public static interface RetryBuildRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<RetryBuildRequest.Builder,RetryBuildRequest>
  • Method Details

    • id

      Specifies the identifier of the build to restart.

      Parameters:
      id - Specifies the identifier of the build to restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • idempotencyToken

      RetryBuildRequest.Builder idempotencyToken(String idempotencyToken)

      A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuild request. The token is included in the RetryBuild request and is valid for five minutes. If you repeat the RetryBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

      Parameters:
      idempotencyToken - A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuild request. The token is included in the RetryBuild request and is valid for five minutes. If you repeat the RetryBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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