public SettingEntry withType(String type) {
        setType(type);
        return this;
    }
<p>
The type, or category, of a directory setting. Similar settings have the same type. For example,
<code>Protocol</code>, <code>Cipher</code>, or <code>Certificate-Based Authentication</code>.
</p>

@param type
       The type, or category, of a directory setting. Similar settings have the same type. For example,
       <code>Protocol</code>, <code>Cipher</code>, or <code>Certificate-Based Authentication</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/SettingEntry.java