Class SensorCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class SensorCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
plaintextName
final SensorCreateParams.Body.Builder plaintextName(String plaintextName)
-
plaintextName
final SensorCreateParams.Body.Builder plaintextName(JsonField<String> plaintextName)
Sets Builder.plaintextName to an arbitrary JSON value.
You should usually call Builder.plaintextName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
active
final SensorCreateParams.Body.Builder active(Boolean active)
-
active
final SensorCreateParams.Body.Builder active(JsonField<Boolean> active)
Sets Builder.active to an arbitrary JSON value.
You should usually call Builder.active with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
adhoc
final SensorCreateParams.Body.Builder adhoc(Boolean adhoc)
-
adhoc
final SensorCreateParams.Body.Builder adhoc(JsonField<Boolean> adhoc)
Sets Builder.adhoc to an arbitrary JSON value.
You should usually call Builder.adhoc with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final SensorCreateParams.Body.Builder tags(SensorCreateParams.Tags tags)
-
tags
final SensorCreateParams.Body.Builder tags(JsonField<SensorCreateParams.Tags> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed Tags value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final SensorCreateParams.Body.Builder version(Long version)
-
version
final SensorCreateParams.Body.Builder version(JsonField<Long> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version 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 SensorCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SensorCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SensorCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SensorCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SensorCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SensorCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.plaintextName()
-
-
-
-