public static final class PreferencesApplied.Builder extends Object
Modifier and Type | Method and Description |
---|---|
PreferencesApplied.Builder |
allowEntityReferences()
Sets
odata.allow-entityreferences . |
PreferencesApplied |
build()
Builds the applied preferences.
|
PreferencesApplied.Builder |
callback()
Sets
odata.callback . |
PreferencesApplied.Builder |
continueOnError()
Sets
odata.continue-on-error . |
PreferencesApplied.Builder |
maxPageSize(Integer maxPageSize)
Sets the value of the applied preference
odata.maxpagesize . |
PreferencesApplied.Builder |
preference(String name,
String value)
Sets an arbitrary preference as applied.
|
PreferencesApplied.Builder |
respondAsync()
Sets
odata.respond-async . |
PreferencesApplied.Builder |
returnRepresentation(Preferences.Return returnRepresentation)
Sets the value of the applied preference
return . |
PreferencesApplied.Builder |
trackChanges()
Sets
odata.track-changes . |
PreferencesApplied.Builder |
waitPreference(Integer wait)
Sets the value of the applied preference
wait . |
public PreferencesApplied.Builder allowEntityReferences()
odata.allow-entityreferences
.public PreferencesApplied.Builder callback()
odata.callback
.public PreferencesApplied.Builder continueOnError()
odata.continue-on-error
.public PreferencesApplied.Builder maxPageSize(Integer maxPageSize)
odata.maxpagesize
.public PreferencesApplied.Builder trackChanges()
odata.track-changes
.public PreferencesApplied.Builder returnRepresentation(Preferences.Return returnRepresentation)
return
.public PreferencesApplied.Builder respondAsync()
odata.respond-async
.public PreferencesApplied.Builder waitPreference(Integer wait)
wait
.public PreferencesApplied.Builder preference(String name, String value)
null
.
Name and value are not checked for validity.name
- preference namevalue
- preference valuepublic PreferencesApplied build()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.