TaskAddCollectionHeaders Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskAddCollectionHeaders

public class TaskAddCollectionHeaders

Defines headers for AddCollection operation.

Constructor Summary

Constructor Description
TaskAddCollectionHeaders()

Method Summary

Modifier and Type Method and Description
String clientRequestId()

Get the client-request-id provided by the client during the request.

String requestId()

Get a unique identifier for the request that was made to the Batch service.

TaskAddCollectionHeaders withClientRequestId(String clientRequestId)

Set the client-request-id provided by the client during the request.

TaskAddCollectionHeaders withRequestId(String requestId)

Set a unique identifier for the request that was made to the Batch service.

Methods inherited from java.lang.Object

Constructor Details

TaskAddCollectionHeaders

public TaskAddCollectionHeaders()

Method Details

clientRequestId

public String 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

requestId

public String 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

withClientRequestId

public TaskAddCollectionHeaders withClientRequestId(String 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 TaskAddCollectionHeaders object itself.

withRequestId

public TaskAddCollectionHeaders withRequestId(String 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 TaskAddCollectionHeaders object itself.

Applies to