Class Project.Builder
-
- All Implemented Interfaces:
public final class Project.BuilderA builder for Project.
-
-
Method Summary
Modifier and Type Method Description final Project.Builderid(String id)Unique identifier for the project final Project.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Project.Buildername(String name)Name of the project final Project.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Project.BuilderorgId(String orgId)Unique id for the organization that the project belongs under final Project.BuilderorgId(JsonField<String> orgId)Sets Builder.orgId to an arbitrary JSON value. final Project.Buildercreated(OffsetDateTime created)Date of project creation final Project.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final Project.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final Project.BuilderdeletedAt(OffsetDateTime deletedAt)Date of project deletion, or null if the project is still active final Project.BuilderdeletedAt(Optional<OffsetDateTime> deletedAt)Alias for calling Builder.deletedAt with deletedAt.orElse(null).final Project.BuilderdeletedAt(JsonField<OffsetDateTime> deletedAt)Sets Builder.deletedAt to an arbitrary JSON value. final Project.Buildersettings(ProjectSettings settings)final Project.Buildersettings(Optional<ProjectSettings> settings)Alias for calling Builder.settings with settings.orElse(null).final Project.Buildersettings(JsonField<ProjectSettings> settings)Sets Builder.settings to an arbitrary JSON value. final Project.BuilderuserId(String userId)Identifies the user who created the project final Project.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final Project.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final Project.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Project.BuilderputAdditionalProperty(String key, JsonValue value)final Project.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Project.BuilderremoveAdditionalProperty(String key)final Project.BuilderremoveAllAdditionalProperties(Set<String> keys)final Projectbuild()Returns an immutable instance of Project. -
-
Method Detail
-
id
final Project.Builder id(String id)
Unique identifier for the project
-
id
final Project.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 Project.Builder name(String name)
Name of the project
-
name
final Project.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.
-
orgId
final Project.Builder orgId(String orgId)
Unique id for the organization that the project belongs under
-
orgId
final Project.Builder orgId(JsonField<String> orgId)
Sets Builder.orgId to an arbitrary JSON value.
You should usually call Builder.orgId 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 Project.Builder created(OffsetDateTime created)
Date of project creation
-
created
final Project.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final Project.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.
-
deletedAt
final Project.Builder deletedAt(OffsetDateTime deletedAt)
Date of project deletion, or null if the project is still active
-
deletedAt
final Project.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final Project.Builder deletedAt(JsonField<OffsetDateTime> deletedAt)
Sets Builder.deletedAt to an arbitrary JSON value.
You should usually call Builder.deletedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
settings
final Project.Builder settings(ProjectSettings settings)
-
settings
final Project.Builder settings(Optional<ProjectSettings> settings)
Alias for calling Builder.settings with
settings.orElse(null).
-
settings
final Project.Builder settings(JsonField<ProjectSettings> settings)
Sets Builder.settings to an arbitrary JSON value.
You should usually call Builder.settings with a well-typed ProjectSettings value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final Project.Builder userId(String userId)
Identifies the user who created the project
-
userId
final Project.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final Project.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.
-
additionalProperties
final Project.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Project.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Project.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Project.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Project.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-