public Contact withPreviousContactId(String previousContactId) {
        setPreviousContactId(previousContactId);
        return this;
    }
<p>
If this contact is not the first contact, this is the ID of the previous contact.
</p>

@param previousContactId
       If this contact is not the first contact, this is the ID of the previous contact.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Contact.java