public CredentialSummary withSerialNumber(String serialNumber) {
        setSerialNumber(serialNumber);
        return this;
    }
<p>
The serial number of the certificate.
</p>

@param serialNumber
       The serial number of the certificate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/CredentialSummary.java