public ProjectEnvironment withCertificate(String certificate) {
        setCertificate(certificate);
        return this;
    }
<p>
The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the
build project. For more information, see <a href=
"https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate"
>certificate</a> in the <i>CodeBuild User Guide</i>.
</p>

@param certificate
       The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for
       the build project. For more information, see <a href=
       "https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate"
       >certificate</a> in the <i>CodeBuild User Guide</i>.
@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/ProjectEnvironment.java