public CreateRepositoryRequest withRepository(String repository) {
        setRepository(repository);
        return this;
    }
<p>
The name of the repository to create.
</p>

@param repository
       The name of the repository to create.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/CreateRepositoryRequest.java