Class JourneyVersionItem.Builder
-
- All Implemented Interfaces:
public final class JourneyVersionItem.BuilderA builder for JourneyVersionItem.
-
-
Method Summary
-
-
Method Detail
-
created
final JourneyVersionItem.Builder created(Long created)
-
created
final JourneyVersionItem.Builder created(Long created)
Alias for Builder.created.
This unboxed primitive overload exists for backwards compatibility.
-
created
final JourneyVersionItem.Builder created(Optional<Long> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final JourneyVersionItem.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creator
final JourneyVersionItem.Builder creator(String creator)
-
creator
final JourneyVersionItem.Builder creator(Optional<String> creator)
Alias for calling Builder.creator with
creator.orElse(null).
-
creator
final JourneyVersionItem.Builder creator(JsonField<String> creator)
Sets Builder.creator to an arbitrary JSON value.
You should usually call Builder.creator with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final JourneyVersionItem.Builder name(String name)
-
name
final JourneyVersionItem.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
published
final JourneyVersionItem.Builder published(Long published)
-
published
final JourneyVersionItem.Builder published(Long published)
Alias for Builder.published.
This unboxed primitive overload exists for backwards compatibility.
-
published
final JourneyVersionItem.Builder published(Optional<Long> published)
Alias for calling Builder.published with
published.orElse(null).
-
published
final JourneyVersionItem.Builder published(JsonField<Long> published)
Sets Builder.published to an arbitrary JSON value.
You should usually call Builder.published with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final JourneyVersionItem.Builder version(String version)
-
version
final JourneyVersionItem.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JourneyVersionItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyVersionItem.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyVersionItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyVersionItem.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyVersionItem.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyVersionItem build()
Returns an immutable instance of JourneyVersionItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.created() .creator() .name() .published() .version()
-
-
-
-