Class HTTPSettingsPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.HTTPSettingsPatch.Builder
- Enclosing class:
HTTPSettingsPatch
Builds a
HTTPSettingsPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The patch, with what's been set so far.originAllowList(@Nullable List<String> originAllowList) SetsOriginAllowList: theOriginAllowListpropertySetsPort: thePortpropertyrequestEntityMaxSizeInKB(@Nullable Integer requestEntityMaxSizeInKB) SetsRequestEntityMaxSizeInKB: theRequestEntityMaxSizeInKBpropertysessionMaxRequests(@Nullable Integer sessionMaxRequests) SetsSessionMaxRequests: theSessionMaxRequestspropertysessionTimeout(@Nullable Duration sessionTimeout) SetsSessionTimeout: theSessionTimeoutproperty
-
Method Details
-
port
SetsPort: thePortproperty- Parameters:
port- the value;nullsends an explicitnull- Returns:
- this builder
-
sessionTimeout
SetsSessionTimeout: theSessionTimeoutproperty- Parameters:
sessionTimeout- the value;nullsends an explicitnull- Returns:
- this builder
-
sessionMaxRequests
SetsSessionMaxRequests: theSessionMaxRequestsproperty- Parameters:
sessionMaxRequests- the value;nullsends an explicitnull- Returns:
- this builder
-
requestEntityMaxSizeInKB
public HTTPSettingsPatch.Builder requestEntityMaxSizeInKB(@Nullable Integer requestEntityMaxSizeInKB) SetsRequestEntityMaxSizeInKB: theRequestEntityMaxSizeInKBproperty- Parameters:
requestEntityMaxSizeInKB- the value;nullsends an explicitnull- Returns:
- this builder
-
originAllowList
SetsOriginAllowList: theOriginAllowListproperty- Parameters:
originAllowList- the value;nullsends an explicitnull- Returns:
- this builder
-
build
-