public RetryBuildRequest withId(String id) {
        setId(id);
        return this;
    }
<p>
Specifies the identifier of the build to restart.
</p>

@param id
       Specifies the identifier of the build to restart.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/RetryBuildRequest.java