Class WorkspaceRateLimitUpdateValue.Builder
-
- All Implemented Interfaces:
public final class WorkspaceRateLimitUpdateValue.BuilderA builder for WorkspaceRateLimitUpdateValue.
-
-
Method Summary
-
-
Method Detail
-
type
final WorkspaceRateLimitUpdateValue.Builder type(WorkspaceRateLimitType type)
Rate limiter type.
-
type
final WorkspaceRateLimitUpdateValue.Builder type(JsonField<WorkspaceRateLimitType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed WorkspaceRateLimitType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final WorkspaceRateLimitUpdateValue.Builder value(Long value)
New limit value. Set to null to clear the workspace override and fall back to the organization limit.
-
value
final WorkspaceRateLimitUpdateValue.Builder value(Long value)
Alias for Builder.value.
This unboxed primitive overload exists for backwards compatibility.
-
value
final WorkspaceRateLimitUpdateValue.Builder value(Optional<Long> value)
Alias for calling Builder.value with
value.orElse(null).
-
value
final WorkspaceRateLimitUpdateValue.Builder value(JsonField<Long> value)
Sets Builder.value to an arbitrary JSON value.
You should usually call Builder.value with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WorkspaceRateLimitUpdateValue.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WorkspaceRateLimitUpdateValue.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WorkspaceRateLimitUpdateValue.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WorkspaceRateLimitUpdateValue.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WorkspaceRateLimitUpdateValue.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WorkspaceRateLimitUpdateValue build()
Returns an immutable instance of WorkspaceRateLimitUpdateValue.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type() .value()
-
-
-
-