public void setLastModificationErrors(java.util.Collection<PeeringError> lastModificationErrors) {
        if (lastModificationErrors == null) {
            this.lastModificationErrors = null;
            return;
        }

        this.lastModificationErrors = new java.util.ArrayList<PeeringError>(lastModificationErrors);
    }
<p>
Describes the error associated with the Connect peer request.
</p>

@param lastModificationErrors
       Describes the error associated with the Connect peer request.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Peering.java