public GetContactResult withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of contact, either <code>PERSONAL</code> or <code>ESCALATION</code>.
</p>

@param type
       The type of contact, either <code>PERSONAL</code> or <code>ESCALATION</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ContactType
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/GetContactResult.java