Class Journey.Builder
-
- All Implemented Interfaces:
public final class Journey.BuilderA builder for Journey.
-
-
Method Summary
Modifier and Type Method Description final Journey.Builderid(String id)The unique identifier of the journey. final Journey.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Journey.Buildername(String name)The name of the journey. final Journey.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Journey.Builderversion(Journey.Version version)The version of the journey (published or draft). final Journey.Builderversion(JsonField<Journey.Version> version)Sets Builder.version to an arbitrary JSON value. final Journey.BuildercreatedAt(OffsetDateTime createdAt)ISO 8601 timestamp when the journey was created. final Journey.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final Journey.BuilderupdatedAt(OffsetDateTime updatedAt)ISO 8601 timestamp when the journey was last updated. final Journey.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final Journey.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Journey.BuilderputAdditionalProperty(String key, JsonValue value)final Journey.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Journey.BuilderremoveAdditionalProperty(String key)final Journey.BuilderremoveAllAdditionalProperties(Set<String> keys)final Journeybuild()Returns an immutable instance of Journey. -
-
Method Detail
-
id
final Journey.Builder id(String id)
The unique identifier of the journey.
-
id
final Journey.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.
-
name
final Journey.Builder name(String name)
The name of the journey.
-
name
final Journey.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.
-
version
final Journey.Builder version(Journey.Version version)
The version of the journey (published or draft).
-
version
final Journey.Builder version(JsonField<Journey.Version> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed Version value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final Journey.Builder createdAt(OffsetDateTime createdAt)
ISO 8601 timestamp when the journey was created.
-
createdAt
final Journey.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.
-
updatedAt
final Journey.Builder updatedAt(OffsetDateTime updatedAt)
ISO 8601 timestamp when the journey was last updated.
-
updatedAt
final Journey.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.
-
additionalProperties
final Journey.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Journey.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Journey.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Journey.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Journey.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-