public UploadLayerPartRequest withUploadId(String uploadId) {
        setUploadId(uploadId);
        return this;
    }
<p>
The upload ID from a previous <a>InitiateLayerUpload</a> operation to associate with the layer part upload.
</p>

@param uploadId
       The upload ID from a previous <a>InitiateLayerUpload</a> operation to associate with the layer part
       upload.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecrpublic/src/main/java/com/amazonaws/services/ecrpublic/model/UploadLayerPartRequest.java