Class PartialBatchRetrySettings


  • public final class PartialBatchRetrySettings
    extends Object
    Retry settings for a batch inference operation.
    • Constructor Detail

      • PartialBatchRetrySettings

        public PartialBatchRetrySettings()
    • 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.