public Peering withLastModificationErrors(java.util.Collection<PeeringError> lastModificationErrors) {
        setLastModificationErrors(lastModificationErrors);
        return this;
    }
<p>
Describes the error associated with the Connect peer request.
</p>

@param lastModificationErrors
       Describes the error associated with the Connect peer request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Peering.java