public AssociatedRole withCertificateS3ObjectKey(String certificateS3ObjectKey) {
        setCertificateS3ObjectKey(certificateS3ObjectKey);
        return this;
    }
<p>
The key of the Amazon S3 object where the certificate, certificate chain, and encrypted private key bundle are
stored. The object key is formatted as follows: <code>role_arn</code>/<code>certificate_arn</code>.
</p>

@param certificateS3ObjectKey
       The key of the Amazon S3 object where the certificate, certificate chain, and encrypted private key bundle
       are stored. The object key is formatted as follows: <code>role_arn</code>/<code>certificate_arn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AssociatedRole.java