@classmethod
def from_boto_server_certificate(cls, server_certificate
    ) ->'IAMServerCertificate':
    """
        Converts an ServerCertificate as returned by server_certificates.all()
        """
    metadata = server_certificate.server_certificate_metadata
    certificate_body = server_certificate.certificate_body
    certificate_chain = server_certificate.certificate_chain
    return cls(metadata, certificate_body, certificate_chain)
