Class GetBatchTaskFileOptions

java.lang.Object
com.azure.compute.batch.models.GetBatchTaskFileOptions

public final class GetBatchTaskFileOptions extends Object
Optional parameters for Get Task File operation.
  • Constructor Details

    • GetBatchTaskFileOptions

      public GetBatchTaskFileOptions()
      Creates an instance of GetBatchTaskFileOptions class.
  • Method Details

    • getTimeOutInSeconds

      public Integer getTimeOutInSeconds()
      Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
      Returns:
      the timeOutInSeconds value.
    • setTimeOutInSeconds

      public GetBatchTaskFileOptions setTimeOutInSeconds(Integer timeOutInSeconds)
      Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
      Parameters:
      timeOutInSeconds - the timeOutInSeconds value to set.
      Returns:
      the GetBatchTaskFileOptions object itself.
    • getIfModifiedSince

      public OffsetDateTime getIfModifiedSince()
      Get the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.
      Returns:
      the ifModifiedSince value.
    • setIfModifiedSince

      public GetBatchTaskFileOptions setIfModifiedSince(OffsetDateTime ifModifiedSince)
      Set the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.
      Parameters:
      ifModifiedSince - the ifModifiedSince value to set.
      Returns:
      the GetBatchTaskFileOptions object itself.
    • getIfUnmodifiedSince

      public OffsetDateTime getIfUnmodifiedSince()
      Get the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.
      Returns:
      the ifUnmodifiedSince value.
    • setIfUnmodifiedSince

      public GetBatchTaskFileOptions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
      Set the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.
      Parameters:
      ifUnmodifiedSince - the ifUnmodifiedSince value to set.
      Returns:
      the GetBatchTaskFileOptions object itself.
    • getOcpRange

      public String getOcpRange()
      Get the ocpRange property: The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.
      Returns:
      the ocpRange value.
    • setOcpRange

      public GetBatchTaskFileOptions setOcpRange(String ocpRange)
      Set the ocpRange property: The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.
      Parameters:
      ocpRange - the ocpRange value to set.
      Returns:
      the GetBatchTaskFileOptions object itself.