BatchTaskFilePropertiesGetOptions Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchTaskFilePropertiesGetOptions

public final class BatchTaskFilePropertiesGetOptions

Optional parameters for Get Task File Properties operation.

Constructor Summary

Constructor Description
BatchTaskFilePropertiesGetOptions()

Creates an instance of BatchTaskFilePropertiesGetOptions class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getIfModifiedSince()

Get the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client.

OffsetDateTime getIfUnmodifiedSince()

Get the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client.

Duration getTimeOutInSeconds()

Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

BatchTaskFilePropertiesGetOptions setIfModifiedSince(OffsetDateTime ifModifiedSince)

Set the ifModifiedSince property: A timestamp indicating the last modified time of the resource known to the client.

BatchTaskFilePropertiesGetOptions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)

Set the ifUnmodifiedSince property: A timestamp indicating the last modified time of the resource known to the client.

BatchTaskFilePropertiesGetOptions setTimeOutInSeconds(Duration timeOutInSeconds)

Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

Methods inherited from java.lang.Object

Constructor Details

BatchTaskFilePropertiesGetOptions

public BatchTaskFilePropertiesGetOptions()

Creates an instance of BatchTaskFilePropertiesGetOptions class.

Method Details

getIfModifiedSince

public OffsetDateTime 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.

getIfUnmodifiedSince

public OffsetDateTime 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.

getTimeOutInSeconds

public Duration 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.

setIfModifiedSince

public BatchTaskFilePropertiesGetOptions setIfModifiedSince(OffsetDateTime ifModifiedSince)

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 BatchTaskFilePropertiesGetOptions object itself.

setIfUnmodifiedSince

public BatchTaskFilePropertiesGetOptions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)

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 BatchTaskFilePropertiesGetOptions object itself.

setTimeOutInSeconds

public BatchTaskFilePropertiesGetOptions setTimeOutInSeconds(Duration timeOutInSeconds)

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 BatchTaskFilePropertiesGetOptions object itself.

Applies to