public EntityIdentifier withEntityType(String entityType) {
        setEntityType(entityType);
        return this;
    }
<p>
The type of an entity.
</p>
<p>
Example: <code>"entityType":"<i>typeName</i>"</code>
</p>

@param entityType
       The type of an entity.</p>
       <p>
       Example: <code>"entityType":"<i>typeName</i>"</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-verifiedpermissions/src/main/java/com/amazonaws/services/verifiedpermissions/model/EntityIdentifier.java