public UserSetting withPermission(String permission) {
        setPermission(permission);
        return this;
    }
<p>
Indicates if the setting is enabled or disabled.
</p>

@param permission
       Indicates if the setting is enabled or disabled.
@return Returns a reference to this object so that method calls can be chained together.
@see UserSettingPermissionEnum
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/UserSetting.java