ServerlessInferenceEndpoint Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ServerlessInferenceEndpoint
- com.
Implements
public final class ServerlessInferenceEndpoint
implements JsonSerializable<ServerlessInferenceEndpoint>
The ServerlessInferenceEndpoint model.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerlessInferenceEndpoint() |
Creates an instance of Serverless |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Serverless |
fromJson(JsonReader jsonReader)
Reads an instance of Serverless |
| Map<String,String> |
headers()
Get the headers property: Specifies any required headers to target this serverless endpoint. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: [Required] The inference uri to target when making requests against the Serverless Endpoint. |
| void |
validate()
Validates the instance. |
|
Serverless |
withUri(String uri)
Set the uri property: [Required] The inference uri to target when making requests against the Serverless Endpoint. |
Methods inherited from java.lang.Object
Constructor Details
ServerlessInferenceEndpoint
public ServerlessInferenceEndpoint()
Creates an instance of ServerlessInferenceEndpoint class.
Method Details
fromJson
public static ServerlessInferenceEndpoint fromJson(JsonReader jsonReader)
Reads an instance of ServerlessInferenceEndpoint from the JsonReader.
Parameters:
Returns:
Throws:
headers
public Map<String,String> headers()
Get the headers property: Specifies any required headers to target this serverless endpoint.
Returns:
toJson
uri
public String uri()
Get the uri property: [Required] The inference uri to target when making requests against the Serverless Endpoint.
Returns:
validate
public void validate()
Validates the instance.
withUri
public ServerlessInferenceEndpoint withUri(String uri)
Set the uri property: [Required] The inference uri to target when making requests against the Serverless Endpoint.
Parameters:
Returns: