BatchTaskFileGetOptions Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskFileGetOptions
- com.
public final class BatchTaskFileGetOptions
Optional parameters for Get Task File operation.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchTaskFileGetOptions() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
getIfModifiedSince()
Get the if |
|
Offset |
getIfUnmodifiedSince()
Get the if |
| String |
getOcpRange()
Get the ocp |
| Duration |
getTimeOutInSeconds()
Get the time |
|
Batch |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Set the if |
|
Batch |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Set the if |
|
Batch |
setOcpRange(String ocpRange)
Set the ocp |
|
Batch |
setTimeOutInSeconds(Duration timeOutInSeconds)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
BatchTaskFileGetOptions
public BatchTaskFileGetOptions()
Creates an instance of BatchTaskFileGetOptions class.
Method Details
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:
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:
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:
getTimeOutInSeconds
public Duration 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:
setIfModifiedSince
public BatchTaskFileGetOptions 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:
Returns:
setIfUnmodifiedSince
public BatchTaskFileGetOptions 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:
Returns:
setOcpRange
public BatchTaskFileGetOptions 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:
Returns:
setTimeOutInSeconds
public BatchTaskFileGetOptions setTimeOutInSeconds(Duration 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:
Returns: