public ListServerCertificatesResult withServerCertificateMetadataList(ServerCertificateMetadata... serverCertificateMetadataList) {
        if (this.serverCertificateMetadataList == null) {
            setServerCertificateMetadataList(new com.amazonaws.internal.SdkInternalList<ServerCertificateMetadata>(serverCertificateMetadataList.length));
        }
        for (ServerCertificateMetadata ele : serverCertificateMetadataList) {
            this.serverCertificateMetadataList.add(ele);
        }
        return this;
    }
public ListServerCertificatesResult withServerCertificateMetadataList ( ServerCertificateMetadata ... serverCertificateMetadataList ) { if ( this . serverCertificateMetadataList == null ) { setServerCertificateMetadataList ( new com . amazonaws . internal . SdkInternalList < ServerCertificateMetadata > ( serverCertificateMetadataList . length ) ) ; } for ( ServerCertificateMetadata ele : serverCertificateMetadataList ) { this . serverCertificateMetadataList . add ( ele ) ; } return this ; }
<p>
A list of server certificates.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServerCertificateMetadataList(java.util.Collection)} or
{@link #withServerCertificateMetadataList(java.util.Collection)} if you want to override the existing values.
</p>

@param serverCertificateMetadataList
A list of server certificates.
@return Returns a reference to this object so that method calls can be chained together.