Class Object.Builder
-
- All Implemented Interfaces:
public final class Object.BuilderA builder for Object.
-
-
Method Summary
Modifier and Type Method Description final Object.Builderid(String id)Unique identifier for the object. final Object.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Object.Builder_typename(String _typename)The typename of the schema. final Object.Builder_typename(JsonField<String> _typename)Sets Builder._typename to an arbitrary JSON value. final Object.Buildercollection(String collection)The collection this object belongs to. final Object.Buildercollection(JsonField<String> collection)Sets Builder.collection to an arbitrary JSON value. final Object.BuilderupdatedAt(OffsetDateTime updatedAt)The timestamp when the resource was last updated. final Object.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final Object.BuildercreatedAt(OffsetDateTime createdAt)Timestamp when the resource was created. final Object.BuildercreatedAt(Optional<OffsetDateTime> createdAt)Alias for calling Builder.createdAt with createdAt.orElse(null).final Object.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final Object.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Object.BuilderputAdditionalProperty(String key, JsonValue value)final Object.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Object.BuilderremoveAdditionalProperty(String key)final Object.BuilderremoveAllAdditionalProperties(Set<String> keys)final Objectbuild()Returns an immutable instance of Object. -
-
Method Detail
-
id
final Object.Builder id(String id)
Unique identifier for the object.
-
id
final Object.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.
-
_typename
final Object.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final Object.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
collection
final Object.Builder collection(String collection)
The collection this object belongs to.
-
collection
final Object.Builder collection(JsonField<String> collection)
Sets Builder.collection to an arbitrary JSON value.
You should usually call Builder.collection with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final Object.Builder updatedAt(OffsetDateTime updatedAt)
The timestamp when the resource was last updated.
-
updatedAt
final Object.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final Object.Builder createdAt(OffsetDateTime createdAt)
Timestamp when the resource was created.
-
createdAt
final Object.Builder createdAt(Optional<OffsetDateTime> createdAt)
Alias for calling Builder.createdAt with
createdAt.orElse(null).
-
createdAt
final Object.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.
-
additionalProperties
final Object.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Object.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Object.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Object.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Object.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-