public DescribeEntityResult withType(String type) {
        setType(type);
        return this;
    }
<p>
Entity type.
</p>

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