Class EffortCapability.Builder
-
- All Implemented Interfaces:
public final class EffortCapability.BuilderA builder for EffortCapability.
-
-
Method Summary
-
-
Method Detail
-
high
final EffortCapability.Builder high(CapabilitySupport high)
Whether the model supports high effort level.
-
high
final EffortCapability.Builder high(JsonField<CapabilitySupport> high)
Sets Builder.high to an arbitrary JSON value.
You should usually call Builder.high with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
low
final EffortCapability.Builder low(CapabilitySupport low)
Whether the model supports low effort level.
-
low
final EffortCapability.Builder low(JsonField<CapabilitySupport> low)
Sets Builder.low to an arbitrary JSON value.
You should usually call Builder.low with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
max
final EffortCapability.Builder max(CapabilitySupport max)
Whether the model supports max effort level.
-
max
final EffortCapability.Builder max(JsonField<CapabilitySupport> max)
Sets Builder.max to an arbitrary JSON value.
You should usually call Builder.max with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
medium
final EffortCapability.Builder medium(CapabilitySupport medium)
Whether the model supports medium effort level.
-
medium
final EffortCapability.Builder medium(JsonField<CapabilitySupport> medium)
Sets Builder.medium to an arbitrary JSON value.
You should usually call Builder.medium with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
supported
final EffortCapability.Builder supported(Boolean supported)
Whether this capability is supported by the model.
-
supported
final EffortCapability.Builder supported(JsonField<Boolean> supported)
Sets Builder.supported to an arbitrary JSON value.
You should usually call Builder.supported with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
xhigh
final EffortCapability.Builder xhigh(CapabilitySupport xhigh)
Indicates whether a capability is supported.
-
xhigh
final EffortCapability.Builder xhigh(Optional<CapabilitySupport> xhigh)
Alias for calling Builder.xhigh with
xhigh.orElse(null).
-
xhigh
final EffortCapability.Builder xhigh(JsonField<CapabilitySupport> xhigh)
Sets Builder.xhigh to an arbitrary JSON value.
You should usually call Builder.xhigh with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final EffortCapability.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EffortCapability.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EffortCapability.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EffortCapability.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EffortCapability.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EffortCapability build()
Returns an immutable instance of EffortCapability.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.high() .low() .max() .medium() .supported() .xhigh()
-
-
-
-