public PhoneNumber withType(String type) {
        setType(type);
        return this;
    }
<p>
A string representing the type of a phone number. For example, "Mobile."
</p>

@param type
       A string representing the type of a phone number. For example, "Mobile."
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/PhoneNumber.java