Package com.anthropic.models
Class ModelInfo.Builder
-
- All Implemented Interfaces:
public final class ModelInfo.BuilderA builder for ModelInfo.
-
-
Method Summary
Modifier and Type Method Description final ModelInfo.Builderid(String id)Unique model identifier. final ModelInfo.Builderid(JsonField<String> id)Unique model identifier. final ModelInfo.BuildercreatedAt(OffsetDateTime createdAt)RFC 3339 datetime string representing the time at which the model was released. final ModelInfo.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)RFC 3339 datetime string representing the time at which the model was released. final ModelInfo.BuilderdisplayName(String displayName)A human-readable name for the model. final ModelInfo.BuilderdisplayName(JsonField<String> displayName)A human-readable name for the model. final ModelInfo.Buildertype(ModelInfo.Type type)Object type. final ModelInfo.Buildertype(JsonField<ModelInfo.Type> type)Object type. final ModelInfo.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ModelInfo.BuilderputAdditionalProperty(String key, JsonValue value)final ModelInfo.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ModelInfo.BuilderremoveAdditionalProperty(String key)final ModelInfo.BuilderremoveAllAdditionalProperties(Set<String> keys)final ModelInfobuild()-
-
Method Detail
-
id
final ModelInfo.Builder id(String id)
Unique model identifier.
-
id
final ModelInfo.Builder id(JsonField<String> id)
Unique model identifier.
-
createdAt
final ModelInfo.Builder createdAt(OffsetDateTime createdAt)
RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.
-
createdAt
final ModelInfo.Builder createdAt(JsonField<OffsetDateTime> createdAt)
RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.
-
displayName
final ModelInfo.Builder displayName(String displayName)
A human-readable name for the model.
-
displayName
final ModelInfo.Builder displayName(JsonField<String> displayName)
A human-readable name for the model.
-
type
final ModelInfo.Builder type(ModelInfo.Type type)
Object type.
For Models, this is always
"model".
-
type
final ModelInfo.Builder type(JsonField<ModelInfo.Type> type)
Object type.
For Models, this is always
"model".
-
additionalProperties
final ModelInfo.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ModelInfo.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ModelInfo.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ModelInfo.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ModelInfo.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-