public AppInstanceUserEndpointSummary withType(AppInstanceUserEndpointType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of the <code>AppInstanceUserEndpoint</code>.
</p>

@param type
       The type of the <code>AppInstanceUserEndpoint</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see AppInstanceUserEndpointType
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/AppInstanceUserEndpointSummary.java