public void setRegistryCredential(RegistryCredential registryCredential) {
        this.registryCredential = registryCredential;
    }
<p>
The credentials for access to a private registry.
</p>

@param registryCredential
       The credentials for access to a private registry.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ProjectEnvironment.java