Class ProjectTag.Builder
-
- All Implemented Interfaces:
public final class ProjectTag.BuilderA builder for ProjectTag.
-
-
Method Summary
Modifier and Type Method Description final ProjectTag.Builderid(String id)Unique identifier for the project tag final ProjectTag.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final ProjectTag.Buildername(String name)Name of the project tag final ProjectTag.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final ProjectTag.BuilderprojectId(String projectId)Unique identifier for the project that the project tag belongs under final ProjectTag.BuilderprojectId(JsonField<String> projectId)Sets Builder.projectId to an arbitrary JSON value. final ProjectTag.BuilderuserId(String userId)final ProjectTag.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final ProjectTag.Buildercolor(String color)Color of the tag for the UI final ProjectTag.Buildercolor(Optional<String> color)Alias for calling Builder.color with color.orElse(null).final ProjectTag.Buildercolor(JsonField<String> color)Sets Builder.color to an arbitrary JSON value. final ProjectTag.Buildercreated(OffsetDateTime created)Date of project tag creation final ProjectTag.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final ProjectTag.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final ProjectTag.Builderdescription(String description)Textual description of the project tag final ProjectTag.Builderdescription(Optional<String> description)Alias for calling Builder.description with description.orElse(null).final ProjectTag.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final ProjectTag.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectTag.BuilderputAdditionalProperty(String key, JsonValue value)final ProjectTag.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectTag.BuilderremoveAdditionalProperty(String key)final ProjectTag.BuilderremoveAllAdditionalProperties(Set<String> keys)final ProjectTagbuild()Returns an immutable instance of ProjectTag. -
-
Method Detail
-
id
final ProjectTag.Builder id(String id)
Unique identifier for the project tag
-
id
final ProjectTag.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 ProjectTag.Builder name(String name)
Name of the project tag
-
name
final ProjectTag.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.
-
projectId
final ProjectTag.Builder projectId(String projectId)
Unique identifier for the project that the project tag belongs under
-
projectId
final ProjectTag.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final ProjectTag.Builder userId(String userId)
-
userId
final ProjectTag.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
color
final ProjectTag.Builder color(String color)
Color of the tag for the UI
-
color
final ProjectTag.Builder color(Optional<String> color)
Alias for calling Builder.color with
color.orElse(null).
-
color
final ProjectTag.Builder color(JsonField<String> color)
Sets Builder.color to an arbitrary JSON value.
You should usually call Builder.color with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final ProjectTag.Builder created(OffsetDateTime created)
Date of project tag creation
-
created
final ProjectTag.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final ProjectTag.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final ProjectTag.Builder description(String description)
Textual description of the project tag
-
description
final ProjectTag.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final ProjectTag.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description 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 ProjectTag.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectTag.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectTag.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectTag.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectTag.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectTag build()
Returns an immutable instance of ProjectTag.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .name() .projectId() .userId()
-
-
-
-