Class JobListFromJobScheduleHeaders
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.JobListFromJobScheduleHeaders
-
public class JobListFromJobScheduleHeaders extends Object
Defines headers for ListFromJobSchedule operation.
-
-
Constructor Summary
Constructors Constructor Description JobListFromJobScheduleHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
clientRequestId()
Get the client-request-id provided by the client during the request.String
eTag()
Get the ETag HTTP response header.org.joda.time.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.JobListFromJobScheduleHeaders
withClientRequestId(UUID clientRequestId)
Set the client-request-id provided by the client during the request.JobListFromJobScheduleHeaders
withETag(String eTag)
Set the ETag HTTP response header.JobListFromJobScheduleHeaders
withLastModified(org.joda.time.DateTime lastModified)
Set the time at which the resource was last modified.JobListFromJobScheduleHeaders
withRequestId(UUID requestId)
Set a unique identifier for the request that was made to the Batch service.
-
-
-
Method Detail
-
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:
- the clientRequestId value
-
withClientRequestId
public JobListFromJobScheduleHeaders 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:
clientRequestId
- the clientRequestId value to set- Returns:
- the JobListFromJobScheduleHeaders object itself.
-
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:
- the requestId value
-
withRequestId
public JobListFromJobScheduleHeaders 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:
requestId
- the requestId value to set- Returns:
- the JobListFromJobScheduleHeaders object itself.
-
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:
- the eTag value
-
withETag
public JobListFromJobScheduleHeaders 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:
eTag
- the eTag value to set- Returns:
- the JobListFromJobScheduleHeaders object itself.
-
lastModified
public org.joda.time.DateTime lastModified()
Get the time at which the resource was last modified.- Returns:
- the lastModified value
-
withLastModified
public JobListFromJobScheduleHeaders withLastModified(org.joda.time.DateTime lastModified)
Set the time at which the resource was last modified.- Parameters:
lastModified
- the lastModified value to set- Returns:
- the JobListFromJobScheduleHeaders object itself.
-
-