Package com.azure.compute.batch.models
Class GetBatchNodeFileOptions
java.lang.Object
com.azure.compute.batch.models.GetBatchNodeFileOptions
Optional parameters for Get Node File operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GetBatchNodeFileOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client.Get the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client.Get the ocpRange property: The byte range to be retrieved.Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.setIfModifiedSince
(OffsetDateTime ifModifiedSince) Set the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client.setIfUnmodifiedSince
(OffsetDateTime ifUnmodifiedSince) Set the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client.setOcpRange
(String ocpRange) Set the ocpRange property: The byte range to be retrieved.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
GetBatchNodeFileOptions
public GetBatchNodeFileOptions()Creates an instance of GetBatchNodeFileOptions class.
-
-
Method Details
-
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:
- the timeOutInSeconds value.
-
setTimeOutInSeconds
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:
timeOutInSeconds
- the timeOutInSeconds value to set.- Returns:
- the GetBatchNodeFileOptions object itself.
-
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:
- the ifModifiedSince value.
-
setIfModifiedSince
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:
ifModifiedSince
- the ifModifiedSince value to set.- Returns:
- the GetBatchNodeFileOptions object itself.
-
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:
- the ifUnmodifiedSince value.
-
setIfUnmodifiedSince
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:
ifUnmodifiedSince
- the ifUnmodifiedSince value to set.- Returns:
- the GetBatchNodeFileOptions object itself.
-
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:
- the ocpRange value.
-
setOcpRange
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:
ocpRange
- the ocpRange value to set.- Returns:
- the GetBatchNodeFileOptions object itself.
-