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