public UpdateTrustStoreRequest withCertificatesToDelete(String... certificatesToDelete) {
        if (this.certificatesToDelete == null) {
            setCertificatesToDelete(new java.util.ArrayList<String>(certificatesToDelete.length));
        }
        for (String ele : certificatesToDelete) {
            this.certificatesToDelete.add(ele);
        }
        return this;
    }
<p>
A list of CA certificates to delete from a trust store.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificatesToDelete(java.util.Collection)} or {@link #withCertificatesToDelete(java.util.Collection)}
if you want to override the existing values.
</p>

@param certificatesToDelete
       A list of CA certificates to delete from a trust store.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/UpdateTrustStoreRequest.java