Package com.lithic.api.models
Class VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder
-
- All Implemented Interfaces:
public final class VelocityLimitParamsPeriodWindow.FixedWindowWeek.BuilderA builder for FixedWindowWeek.
-
-
Method Summary
-
-
Method Detail
-
dayOfWeek
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder dayOfWeek(Long dayOfWeek)
The day of the week to start the week from. Following ISO-8601, 1 is Monday and 7 is Sunday. Defaults to Monday if not specified.
-
dayOfWeek
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder dayOfWeek(JsonField<Long> dayOfWeek)
Sets Builder.dayOfWeek to an arbitrary JSON value.
You should usually call Builder.dayOfWeek with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder type(VelocityLimitParamsPeriodWindow.FixedWindowWeek.Type type)
-
type
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder type(JsonField<VelocityLimitParamsPeriodWindow.FixedWindowWeek.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VelocityLimitParamsPeriodWindow.FixedWindowWeek.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VelocityLimitParamsPeriodWindow.FixedWindowWeek build()
Returns an immutable instance of FixedWindowWeek.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-