Class CommitCreateResponse.Builder
-
- All Implemented Interfaces:
public final class CommitCreateResponse.BuilderA builder for CommitCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final CommitCreateResponse.Builder id(String id)
The project version (commit) id.
-
id
final CommitCreateResponse.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.
-
commit
final CommitCreateResponse.Builder commit(CommitCreateResponse.Commit commit)
The details of a commit (project version).
-
commit
final CommitCreateResponse.Builder commit(JsonField<CommitCreateResponse.Commit> commit)
Sets Builder.commit to an arbitrary JSON value.
You should usually call Builder.commit with a well-typed Commit value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateArchived
final CommitCreateResponse.Builder dateArchived(OffsetDateTime dateArchived)
The commit archive date.
-
dateArchived
final CommitCreateResponse.Builder dateArchived(Optional<OffsetDateTime> dateArchived)
Alias for calling Builder.dateArchived with
dateArchived.orElse(null).
-
dateArchived
final CommitCreateResponse.Builder dateArchived(JsonField<OffsetDateTime> dateArchived)
Sets Builder.dateArchived to an arbitrary JSON value.
You should usually call Builder.dateArchived with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateCreated
final CommitCreateResponse.Builder dateCreated(OffsetDateTime dateCreated)
The project version (commit) creation date.
-
dateCreated
final CommitCreateResponse.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.
-
failingGoalCount
final CommitCreateResponse.Builder failingGoalCount(Long failingGoalCount)
The number of tests that are failing for the commit.
-
failingGoalCount
final CommitCreateResponse.Builder failingGoalCount(JsonField<Long> failingGoalCount)
Sets Builder.failingGoalCount to an arbitrary JSON value.
You should usually call Builder.failingGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mlModelId
final CommitCreateResponse.Builder mlModelId(String mlModelId)
The model id.
-
mlModelId
final CommitCreateResponse.Builder mlModelId(Optional<String> mlModelId)
Alias for calling Builder.mlModelId with
mlModelId.orElse(null).
-
mlModelId
final CommitCreateResponse.Builder mlModelId(JsonField<String> mlModelId)
Sets Builder.mlModelId to an arbitrary JSON value.
You should usually call Builder.mlModelId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
passingGoalCount
final CommitCreateResponse.Builder passingGoalCount(Long passingGoalCount)
The number of tests that are passing for the commit.
-
passingGoalCount
final CommitCreateResponse.Builder passingGoalCount(JsonField<Long> passingGoalCount)
Sets Builder.passingGoalCount to an arbitrary JSON value.
You should usually call Builder.passingGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final CommitCreateResponse.Builder projectId(String projectId)
The project id.
-
projectId
final CommitCreateResponse.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.
-
status
final CommitCreateResponse.Builder status(CommitCreateResponse.Status status)
The commit status. Initially, the commit is
queued, then, it switches torunning. Finally, it can bepaused,failed, orcompleted.
-
status
final CommitCreateResponse.Builder status(JsonField<CommitCreateResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
statusMessage
final CommitCreateResponse.Builder statusMessage(String statusMessage)
The commit status message.
-
statusMessage
final CommitCreateResponse.Builder statusMessage(Optional<String> statusMessage)
Alias for calling Builder.statusMessage with
statusMessage.orElse(null).
-
statusMessage
final CommitCreateResponse.Builder statusMessage(JsonField<String> statusMessage)
Sets Builder.statusMessage to an arbitrary JSON value.
You should usually call Builder.statusMessage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
storageUri
final CommitCreateResponse.Builder storageUri(String storageUri)
The storage URI where the commit bundle is stored.
-
storageUri
final CommitCreateResponse.Builder storageUri(JsonField<String> storageUri)
Sets Builder.storageUri to an arbitrary JSON value.
You should usually call Builder.storageUri with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalGoalCount
final CommitCreateResponse.Builder totalGoalCount(Long totalGoalCount)
The total number of tests for the commit.
-
totalGoalCount
final CommitCreateResponse.Builder totalGoalCount(JsonField<Long> totalGoalCount)
Sets Builder.totalGoalCount to an arbitrary JSON value.
You should usually call Builder.totalGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
trainingDatasetId
final CommitCreateResponse.Builder trainingDatasetId(String trainingDatasetId)
The training dataset id.
-
trainingDatasetId
final CommitCreateResponse.Builder trainingDatasetId(Optional<String> trainingDatasetId)
Alias for calling Builder.trainingDatasetId with
trainingDatasetId.orElse(null).
-
trainingDatasetId
final CommitCreateResponse.Builder trainingDatasetId(JsonField<String> trainingDatasetId)
Sets Builder.trainingDatasetId to an arbitrary JSON value.
You should usually call Builder.trainingDatasetId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
validationDatasetId
final CommitCreateResponse.Builder validationDatasetId(String validationDatasetId)
The validation dataset id.
-
validationDatasetId
final CommitCreateResponse.Builder validationDatasetId(Optional<String> validationDatasetId)
Alias for calling Builder.validationDatasetId with
validationDatasetId.orElse(null).
-
validationDatasetId
final CommitCreateResponse.Builder validationDatasetId(JsonField<String> validationDatasetId)
Sets Builder.validationDatasetId to an arbitrary JSON value.
You should usually call Builder.validationDatasetId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archived
final CommitCreateResponse.Builder archived(Boolean archived)
Whether the commit is archived.
-
archived
final CommitCreateResponse.Builder archived(Boolean archived)
Alias for Builder.archived.
This unboxed primitive overload exists for backwards compatibility.
-
archived
final CommitCreateResponse.Builder archived(Optional<Boolean> archived)
Alias for calling Builder.archived with
archived.orElse(null).
-
archived
final CommitCreateResponse.Builder archived(JsonField<Boolean> archived)
Sets Builder.archived to an arbitrary JSON value.
You should usually call Builder.archived with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deploymentStatus
final CommitCreateResponse.Builder deploymentStatus(String deploymentStatus)
The deployment status associated with the commit's model.
-
deploymentStatus
final CommitCreateResponse.Builder deploymentStatus(JsonField<String> deploymentStatus)
Sets Builder.deploymentStatus to an arbitrary JSON value.
You should usually call Builder.deploymentStatus with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
links
final CommitCreateResponse.Builder links(CommitCreateResponse.Links links)
-
links
final CommitCreateResponse.Builder links(JsonField<CommitCreateResponse.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.
-
additionalProperties
final CommitCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CommitCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CommitCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CommitCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CommitCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CommitCreateResponse build()
Returns an immutable instance of CommitCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .commit() .dateArchived() .dateCreated() .failingGoalCount() .mlModelId() .passingGoalCount() .projectId() .status() .statusMessage() .storageUri() .totalGoalCount() .trainingDatasetId() .validationDatasetId()
-
-
-
-