Class RoutingStrategySummary.Builder
-
- All Implemented Interfaces:
public final class RoutingStrategySummary.BuilderA builder for RoutingStrategySummary.
-
-
Method Summary
-
-
Method Detail
-
id
final RoutingStrategySummary.Builder id(String id)
The routing strategy ID (rs_ prefix).
-
id
final RoutingStrategySummary.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final RoutingStrategySummary.Builder created(Long created)
Epoch milliseconds when the strategy was created.
-
created
final RoutingStrategySummary.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creator
final RoutingStrategySummary.Builder creator(String creator)
User ID of the creator.
-
creator
final RoutingStrategySummary.Builder creator(JsonField<String> creator)
Sets Builder.creator to an arbitrary JSON value.
You should usually call Builder.creator with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final RoutingStrategySummary.Builder name(String name)
Human-readable name.
-
name
final RoutingStrategySummary.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final RoutingStrategySummary.Builder description(String description)
Description of the routing strategy.
-
description
final RoutingStrategySummary.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final RoutingStrategySummary.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final RoutingStrategySummary.Builder tags(List<String> tags)
Tags for categorization.
-
tags
final RoutingStrategySummary.Builder tags(Optional<List<String>> tags)
Alias for calling Builder.tags with
tags.orElse(null).
-
tags
final RoutingStrategySummary.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final RoutingStrategySummary.Builder addTag(String tag)
-
updated
final RoutingStrategySummary.Builder updated(Long updated)
Epoch milliseconds of last update.
-
updated
final RoutingStrategySummary.Builder updated(Long updated)
Alias for Builder.updated.
This unboxed primitive overload exists for backwards compatibility.
-
updated
final RoutingStrategySummary.Builder updated(Optional<Long> updated)
Alias for calling Builder.updated with
updated.orElse(null).
-
updated
final RoutingStrategySummary.Builder updated(JsonField<Long> updated)
Sets Builder.updated to an arbitrary JSON value.
You should usually call Builder.updated with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updater
final RoutingStrategySummary.Builder updater(String updater)
User ID of the last updater.
-
updater
final RoutingStrategySummary.Builder updater(Optional<String> updater)
Alias for calling Builder.updater with
updater.orElse(null).
-
updater
final RoutingStrategySummary.Builder updater(JsonField<String> updater)
Sets Builder.updater to an arbitrary JSON value.
You should usually call Builder.updater with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RoutingStrategySummary.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RoutingStrategySummary.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RoutingStrategySummary.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RoutingStrategySummary.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RoutingStrategySummary.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RoutingStrategySummary build()
Returns an immutable instance of RoutingStrategySummary.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .created() .creator() .name()
-
-
-
-