Class ProjectScoreReplaceParams.Builder
-
- All Implemented Interfaces:
public final class ProjectScoreReplaceParams.BuilderA builder for ProjectScoreReplaceParams.
-
-
Method Summary
-
-
Method Detail
-
body
final ProjectScoreReplaceParams.Builder body(ProjectScoreReplaceParams.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:
-
name
final ProjectScoreReplaceParams.Builder name(String name)
Name of the project score
-
name
final ProjectScoreReplaceParams.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 ProjectScoreReplaceParams.Builder projectId(String projectId)
Unique identifier for the project that the project score belongs under
-
projectId
final ProjectScoreReplaceParams.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.
-
scoreType
final ProjectScoreReplaceParams.Builder scoreType(ProjectScoreType scoreType)
The type of the configured score
-
scoreType
final ProjectScoreReplaceParams.Builder scoreType(JsonField<ProjectScoreType> scoreType)
Sets Builder.scoreType to an arbitrary JSON value.
You should usually call Builder.scoreType with a well-typed ProjectScoreType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
categories
final ProjectScoreReplaceParams.Builder categories(ProjectScoreReplaceParams.Categories categories)
For categorical-type project scores, the list of all categories
-
categories
final ProjectScoreReplaceParams.Builder categories(Optional<ProjectScoreReplaceParams.Categories> categories)
Alias for calling Builder.categories with
categories.orElse(null).
-
categories
final ProjectScoreReplaceParams.Builder categories(JsonField<ProjectScoreReplaceParams.Categories> categories)
Sets Builder.categories to an arbitrary JSON value.
You should usually call Builder.categories with a well-typed Categories value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
categories
final ProjectScoreReplaceParams.Builder categories(ProjectScoreReplaceParams.Categories.Weighted weighted)
Alias for calling categories with
Categories.ofWeighted(weighted).
-
categoriesOfCategorical
final ProjectScoreReplaceParams.Builder categoriesOfCategorical(List<ProjectScoreCategory> categorical)
Alias for calling categories with
Categories.ofCategorical(categorical).
-
categoriesOfMinimum
final ProjectScoreReplaceParams.Builder categoriesOfMinimum(List<String> minimum)
Alias for calling categories with
Categories.ofMinimum(minimum).
-
config
final ProjectScoreReplaceParams.Builder config(ProjectScoreConfig config)
-
config
final ProjectScoreReplaceParams.Builder config(Optional<ProjectScoreConfig> config)
Alias for calling Builder.config with
config.orElse(null).
-
config
final ProjectScoreReplaceParams.Builder config(JsonField<ProjectScoreConfig> config)
Sets Builder.config to an arbitrary JSON value.
You should usually call Builder.config with a well-typed ProjectScoreConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final ProjectScoreReplaceParams.Builder description(String description)
Textual description of the project score
-
description
final ProjectScoreReplaceParams.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final ProjectScoreReplaceParams.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.
-
additionalBodyProperties
final ProjectScoreReplaceParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final ProjectScoreReplaceParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final ProjectScoreReplaceParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final ProjectScoreReplaceParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final ProjectScoreReplaceParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final ProjectScoreReplaceParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final ProjectScoreReplaceParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final ProjectScoreReplaceParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final ProjectScoreReplaceParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final ProjectScoreReplaceParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final ProjectScoreReplaceParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final ProjectScoreReplaceParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final ProjectScoreReplaceParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final ProjectScoreReplaceParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final ProjectScoreReplaceParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final ProjectScoreReplaceParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final ProjectScoreReplaceParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final ProjectScoreReplaceParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final ProjectScoreReplaceParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final ProjectScoreReplaceParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final ProjectScoreReplaceParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final ProjectScoreReplaceParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final ProjectScoreReplaceParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final ProjectScoreReplaceParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final ProjectScoreReplaceParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final ProjectScoreReplaceParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final ProjectScoreReplaceParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final ProjectScoreReplaceParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final ProjectScoreReplaceParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final ProjectScoreReplaceParams build()
Returns an immutable instance of ProjectScoreReplaceParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .projectId() .scoreType()
-
-
-
-