Class ProjectCreateParams.Builder
-
- All Implemented Interfaces:
public final class ProjectCreateParams.BuilderA builder for ProjectCreateParams.
-
-
Method Summary
-
-
Method Detail
-
body
final ProjectCreateParams.Builder body(ProjectCreateParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
id
final ProjectCreateParams.Builder id(String id)
The project id.
-
id
final ProjectCreateParams.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.
-
creatorId
final ProjectCreateParams.Builder creatorId(String creatorId)
The project creator id.
-
creatorId
final ProjectCreateParams.Builder creatorId(Optional<String> creatorId)
Alias for calling Builder.creatorId with
creatorId.orElse(null).
-
creatorId
final ProjectCreateParams.Builder creatorId(JsonField<String> creatorId)
Sets Builder.creatorId to an arbitrary JSON value.
You should usually call Builder.creatorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateCreated
final ProjectCreateParams.Builder dateCreated(OffsetDateTime dateCreated)
The project creation date.
-
dateCreated
final ProjectCreateParams.Builder dateCreated(JsonField<OffsetDateTime> dateCreated)
Sets Builder.dateCreated to an arbitrary JSON value.
You should usually call Builder.dateCreated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateUpdated
final ProjectCreateParams.Builder dateUpdated(OffsetDateTime dateUpdated)
The project last updated date.
-
dateUpdated
final ProjectCreateParams.Builder dateUpdated(JsonField<OffsetDateTime> dateUpdated)
Sets Builder.dateUpdated to an arbitrary JSON value.
You should usually call Builder.dateUpdated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
developmentGoalCount
final ProjectCreateParams.Builder developmentGoalCount(Long developmentGoalCount)
The number of tests in the development mode of the project.
-
developmentGoalCount
final ProjectCreateParams.Builder developmentGoalCount(JsonField<Long> developmentGoalCount)
Sets Builder.developmentGoalCount to an arbitrary JSON value.
You should usually call Builder.developmentGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
goalCount
final ProjectCreateParams.Builder goalCount(Long goalCount)
The total number of tests in the project.
-
goalCount
final ProjectCreateParams.Builder goalCount(JsonField<Long> goalCount)
Sets Builder.goalCount to an arbitrary JSON value.
You should usually call Builder.goalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inferencePipelineCount
final ProjectCreateParams.Builder inferencePipelineCount(Long inferencePipelineCount)
The number of inference pipelines in the project.
-
inferencePipelineCount
final ProjectCreateParams.Builder inferencePipelineCount(JsonField<Long> inferencePipelineCount)
Sets Builder.inferencePipelineCount to an arbitrary JSON value.
You should usually call Builder.inferencePipelineCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
links
final ProjectCreateParams.Builder links(ProjectCreateParams.Links links)
Links to the project.
-
links
final ProjectCreateParams.Builder links(JsonField<ProjectCreateParams.Links> links)
Sets Builder.links to an arbitrary JSON value.
You should usually call Builder.links with a well-typed Links value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monitoringGoalCount
final ProjectCreateParams.Builder monitoringGoalCount(Long monitoringGoalCount)
The number of tests in the monitoring mode of the project.
-
monitoringGoalCount
final ProjectCreateParams.Builder monitoringGoalCount(JsonField<Long> monitoringGoalCount)
Sets Builder.monitoringGoalCount to an arbitrary JSON value.
You should usually call Builder.monitoringGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ProjectCreateParams.Builder name(String name)
The project name.
-
name
final ProjectCreateParams.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.
-
source
final ProjectCreateParams.Builder source(ProjectCreateParams.Source source)
The source of the project.
-
source
final ProjectCreateParams.Builder source(Optional<ProjectCreateParams.Source> source)
Alias for calling Builder.source with
source.orElse(null).
-
source
final ProjectCreateParams.Builder source(JsonField<ProjectCreateParams.Source> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed Source value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
taskType
final ProjectCreateParams.Builder taskType(ProjectCreateParams.TaskType taskType)
The task type of the project.
-
taskType
final ProjectCreateParams.Builder taskType(JsonField<ProjectCreateParams.TaskType> taskType)
Sets Builder.taskType to an arbitrary JSON value.
You should usually call Builder.taskType with a well-typed TaskType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
versionCount
final ProjectCreateParams.Builder versionCount(Long versionCount)
The number of versions (commits) in the project.
-
versionCount
final ProjectCreateParams.Builder versionCount(JsonField<Long> versionCount)
Sets Builder.versionCount to an arbitrary JSON value.
You should usually call Builder.versionCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceId
final ProjectCreateParams.Builder workspaceId(String workspaceId)
The workspace id.
-
workspaceId
final ProjectCreateParams.Builder workspaceId(Optional<String> workspaceId)
Alias for calling Builder.workspaceId with
workspaceId.orElse(null).
-
workspaceId
final ProjectCreateParams.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final ProjectCreateParams.Builder description(String description)
The project description.
-
description
final ProjectCreateParams.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final ProjectCreateParams.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.
-
gitRepo
final ProjectCreateParams.Builder gitRepo(ProjectCreateParams.GitRepo gitRepo)
-
gitRepo
final ProjectCreateParams.Builder gitRepo(Optional<ProjectCreateParams.GitRepo> gitRepo)
Alias for calling Builder.gitRepo with
gitRepo.orElse(null).
-
gitRepo
final ProjectCreateParams.Builder gitRepo(JsonField<ProjectCreateParams.GitRepo> gitRepo)
Sets Builder.gitRepo to an arbitrary JSON value.
You should usually call Builder.gitRepo with a well-typed GitRepo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalBodyProperties
final ProjectCreateParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final ProjectCreateParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final ProjectCreateParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final ProjectCreateParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final ProjectCreateParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final ProjectCreateParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final ProjectCreateParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final ProjectCreateParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final ProjectCreateParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final ProjectCreateParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final ProjectCreateParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final ProjectCreateParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final ProjectCreateParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final ProjectCreateParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final ProjectCreateParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final ProjectCreateParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final ProjectCreateParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final ProjectCreateParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final ProjectCreateParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final ProjectCreateParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final ProjectCreateParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final ProjectCreateParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final ProjectCreateParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final ProjectCreateParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final ProjectCreateParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final ProjectCreateParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final ProjectCreateParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final ProjectCreateParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final ProjectCreateParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final ProjectCreateParams build()
Returns an immutable instance of ProjectCreateParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .creatorId() .dateCreated() .dateUpdated() .developmentGoalCount() .goalCount() .inferencePipelineCount() .links() .monitoringGoalCount() .name() .source() .taskType() .versionCount() .workspaceId()
-
-
-
-