FileGetFromComputeNodeOptions 类

定义

Additional parameters for getFromComputeNode operation.

public class FileGetFromComputeNodeOptions
继承
java.lang.Object
FileGetFromComputeNodeOptions

方法

clientRequestId()

Get the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

ifModifiedSince()

Get 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.

ifUnmodifiedSince()

Get 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.

ocpDate()

Get the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

ocpRange()

Get the byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.

returnClientRequestId()

Get whether the server should return the client-request-id in the response.

timeout()

Get the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

withClientRequestId(UUID clientRequestId)

Set the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

withIfModifiedSince(DateTime ifModifiedSince)

Set 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.

withIfUnmodifiedSince(DateTime ifUnmodifiedSince)

Set 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.

withOcpDate(DateTime ocpDate)

Set the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

withOcpRange(String ocpRange)

Set the byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.

withReturnClientRequestId(Boolean returnClientRequestId)

Set whether the server should return the client-request-id in the response.

withTimeout(Integer timeout)

Set the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

适用于