DigitalTwinUpdateRequestOptions 类

定义

public class DigitalTwinUpdateRequestOptions
继承
java.lang.Object
DigitalTwinUpdateRequestOptions

方法

getIfMatch()

Gets a string representing a weak ETag for the entity that this request performs an operation against, as per RFC7232.

setIfMatch(String ifMatch)

Sets a string representing a weak ETag for the entity that this request performs an operation against, as per RFC7232.

The request's operation is performed only if this ETag matches the value maintained by the server, indicating that the entity has not been modified since it was last retrieved. To force the operation to execute only if the entity exists, set the ETag to the wildcard character '*'. To force the operation to execute unconditionally, leave this value null. If this value is not set, it defaults to null, and the ifMatch header will not be sent with the request. This means that update will be unconditional and the operation will execute regardless of the existence of the resource.

适用于