public EntityDescription withType(String type) {
        setType(type);
        return this;
    }
<p>
The entity type.
</p>

@param type
       The entity type.
@return Returns a reference to this object so that method calls can be chained together.
@see EntityType
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/model/EntityDescription.java