public ImportSourceCredentialsRequest withUsername(String username) {
        setUsername(username);
        return this;
    }
<p>
The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter is not valid for other types
of source providers or connections.
</p>

@param username
       The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter is not valid for other
       types of source providers or connections.
@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/ImportSourceCredentialsRequest.java