FileGetPropertiesFromComputeNodeHeaders 类

定义

Defines headers for GetPropertiesFromComputeNode operation.

public class FileGetPropertiesFromComputeNodeHeaders
继承
java.lang.Object
FileGetPropertiesFromComputeNodeHeaders

方法

clientRequestId()

Get the client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.

contentLength()

Get the length of the file.

contentType()

Get the content type of the file.

eTag()

Get the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.

lastModified()

Get the time at which the resource was last modified.

ocpBatchFileIsdirectory()

Get whether the object represents a directory.

ocpBatchFileMode()

Get the file mode attribute in octal format.

ocpBatchFileUrl()

Get the URL of the file.

ocpCreationTime()

Get the file creation time.

requestId()

Get a unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.

withClientRequestId(UUID clientRequestId)

Set the client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.

withContentLength(Long contentLength)

Set the length of the file.

withContentType(String contentType)

Set the content type of the file.

withETag(String eTag)

Set the ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.

withLastModified(DateTime lastModified)

Set the time at which the resource was last modified.

withOcpBatchFileIsdirectory(Boolean ocpBatchFileIsdirectory)

Set whether the object represents a directory.

withOcpBatchFileMode(String ocpBatchFileMode)

Set the file mode attribute in octal format.

withOcpBatchFileUrl(String ocpBatchFileUrl)

Set the URL of the file.

withOcpCreationTime(DateTime ocpCreationTime)

Set the file creation time.

withRequestId(UUID requestId)

Set a unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.

适用于