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