Class ModelRetrieveResponse.Version.Builder
-
- All Implemented Interfaces:
public final class ModelRetrieveResponse.Version.BuilderA builder for Version.
-
-
Method Summary
-
-
Method Detail
-
version
final ModelRetrieveResponse.Version.Builder version(String version)
-
version
final ModelRetrieveResponse.Version.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deployments
final ModelRetrieveResponse.Version.Builder deployments(List<ModelRetrieveResponse.Version.Deployment> deployments)
-
deployments
final ModelRetrieveResponse.Version.Builder deployments(JsonField<List<ModelRetrieveResponse.Version.Deployment>> deployments)
Sets Builder.deployments to an arbitrary JSON value.
You should usually call Builder.deployments with a well-typed
List<Deployment>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addDeployment
final ModelRetrieveResponse.Version.Builder addDeployment(ModelRetrieveResponse.Version.Deployment deployment)
Adds a single Deployment to deployments.
-
locations
final ModelRetrieveResponse.Version.Builder locations(ModelRetrieveResponse.Version.Locations locations)
-
locations
final ModelRetrieveResponse.Version.Builder locations(JsonField<ModelRetrieveResponse.Version.Locations> locations)
Sets Builder.locations to an arbitrary JSON value.
You should usually call Builder.locations with a well-typed Locations value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelVersionId
final ModelRetrieveResponse.Version.Builder modelVersionId(String modelVersionId)
-
modelVersionId
final ModelRetrieveResponse.Version.Builder modelVersionId(JsonField<String> modelVersionId)
Sets Builder.modelVersionId to an arbitrary JSON value.
You should usually call Builder.modelVersionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
multiFile
final ModelRetrieveResponse.Version.Builder multiFile(Boolean multiFile)
-
multiFile
final ModelRetrieveResponse.Version.Builder multiFile(JsonField<Boolean> multiFile)
Sets Builder.multiFile to an arbitrary JSON value.
You should usually call Builder.multiFile with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retrievable
final ModelRetrieveResponse.Version.Builder retrievable(Boolean retrievable)
-
retrievable
final ModelRetrieveResponse.Version.Builder retrievable(JsonField<Boolean> retrievable)
Sets Builder.retrievable to an arbitrary JSON value.
You should usually call Builder.retrievable with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final ModelRetrieveResponse.Version.Builder tags(ModelRetrieveResponse.Version.Tags tags)
-
tags
final ModelRetrieveResponse.Version.Builder tags(JsonField<ModelRetrieveResponse.Version.Tags> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed Tags value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ModelRetrieveResponse.Version.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ModelRetrieveResponse.Version.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ModelRetrieveResponse.Version.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ModelRetrieveResponse.Version.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ModelRetrieveResponse.Version.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ModelRetrieveResponse.Version build()
Returns an immutable instance of Version.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.version()
-
-
-
-