BatchRetrySettings Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. BatchRetrySettings
- com.
Implements
public final class BatchRetrySettings
implements JsonSerializable<BatchRetrySettings>
Retry settings for a batch inference operation.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchRetrySettings() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| Integer |
maxRetries()
Get the max |
| Duration |
timeout()
Get the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Batch |
withMaxRetries(Integer maxRetries)
Set the max |
|
Batch |
withTimeout(Duration timeout)
Set the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format. |
Methods inherited from java.lang.Object
Constructor Details
BatchRetrySettings
public BatchRetrySettings()
Creates an instance of BatchRetrySettings class.
Method Details
fromJson
public static BatchRetrySettings fromJson(JsonReader jsonReader)
Reads an instance of BatchRetrySettings from the JsonReader.
Parameters:
Returns:
Throws:
maxRetries
public Integer maxRetries()
Get the maxRetries property: Maximum retry count for a mini-batch.
Returns:
timeout
public Duration timeout()
Get the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMaxRetries
public BatchRetrySettings withMaxRetries(Integer maxRetries)
Set the maxRetries property: Maximum retry count for a mini-batch.
Parameters:
Returns:
withTimeout
public BatchRetrySettings withTimeout(Duration timeout)
Set the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.
Parameters:
Returns: