Class PartialBatchRetrySettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialBatchRetrySettings
-
public final class PartialBatchRetrySettings extends Object
Retry settings for a batch inference operation.
-
-
Constructor Summary
Constructors Constructor Description PartialBatchRetrySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
maxRetries()
Get the maxRetries property: Maximum retry count for a mini-batch.Duration
timeout()
Get the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.void
validate()
Validates the instance.PartialBatchRetrySettings
withMaxRetries(Integer maxRetries)
Set the maxRetries property: Maximum retry count for a mini-batch.PartialBatchRetrySettings
withTimeout(Duration timeout)
Set the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.
-
-
-
Method Detail
-
maxRetries
public Integer maxRetries()
Get the maxRetries property: Maximum retry count for a mini-batch.- Returns:
- the maxRetries value.
-
withMaxRetries
public PartialBatchRetrySettings withMaxRetries(Integer maxRetries)
Set the maxRetries property: Maximum retry count for a mini-batch.- Parameters:
maxRetries
- the maxRetries value to set.- Returns:
- the PartialBatchRetrySettings object itself.
-
timeout
public Duration timeout()
Get the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.- Returns:
- the timeout value.
-
withTimeout
public PartialBatchRetrySettings withTimeout(Duration timeout)
Set the timeout property: Invocation timeout for a mini-batch, in ISO 8601 format.- Parameters:
timeout
- the timeout value to set.- Returns:
- the PartialBatchRetrySettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-