public String getType() {
        return this.type;
    }
<p>
If a private key has been specified for the certificate, its type is <code>CERTIFICATE_WITH_PRIVATE_KEY</code>.
If there is no private key, the type is <code>CERTIFICATE</code>.
</p>

@return If a private key has been specified for the certificate, its type is
        <code>CERTIFICATE_WITH_PRIVATE_KEY</code>. If there is no private key, the type is
        <code>CERTIFICATE</code>.
@see CertificateType
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedCertificate.java