public TaskContainerProperties withRepositoryCredentials(RepositoryCredentials repositoryCredentials) {
        setRepositoryCredentials(repositoryCredentials);
        return this;
    }
<p>
The private repository authentication credentials to use.
</p>

@param repositoryCredentials
       The private repository authentication credentials to use.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/TaskContainerProperties.java