ComputeNodeReimageHeaders Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ComputeNodeReimageHeaders
- com.
public class ComputeNodeReimageHeaders
Defines headers for Reimage operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
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. |
String |
dataServiceId()
Get the OData ID of the resource to which the request applied. |
String |
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. |
DateTime |
lastModified()
Get the time at which the resource was last modified. |
UUID |
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. |
Compute |
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. |
Compute |
withDataServiceId(String dataServiceId)
Set the OData ID of the resource to which the request applied. |
Compute |
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. |
Compute |
withLastModified(DateTime lastModified)
Set the time at which the resource was last modified. |
Compute |
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. |
Method Details
clientRequestId
public UUID 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.
Returns:
dataServiceId
public String dataServiceId()
Get the OData ID of the resource to which the request applied.
Returns:
eTag
public String 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.
Returns:
lastModified
public DateTime lastModified()
Get the time at which the resource was last modified.
Returns:
requestId
public UUID 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.
Returns:
withClientRequestId
public ComputeNodeReimageHeaders 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.
Parameters:
Returns:
withDataServiceId
public ComputeNodeReimageHeaders withDataServiceId(String dataServiceId)
Set the OData ID of the resource to which the request applied.
Parameters:
Returns:
withETag
public ComputeNodeReimageHeaders 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.
Parameters:
Returns:
withLastModified
public ComputeNodeReimageHeaders withLastModified(DateTime lastModified)
Set the time at which the resource was last modified.
Parameters:
Returns:
withRequestId
public ComputeNodeReimageHeaders 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.
Parameters:
Returns:
Applies to
Azure SDK for Java