Class CreateOrReplaceDigitalTwinOptions
java.lang.Object
com.azure.digitaltwins.core.models.CreateOrReplaceDigitalTwinOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ifNoneMatch property If-Non-Match header makes the request method conditional on a recipient cache or origin server either not having any current representation of the target resource.setIfNoneMatch
(String ifNoneMatch) Set the ifNoneMatch property.
-
Constructor Details
-
CreateOrReplaceDigitalTwinOptions
public CreateOrReplaceDigitalTwinOptions()
-
-
Method Details
-
getIfNoneMatch
Get the ifNoneMatch property If-Non-Match header makes the request method conditional on a recipient cache or origin server either not having any current representation of the target resource. Acceptable values are null or "*". If IfNonMatch option is null the service will replace the existing entity with the new entity. If IfNonMatch option is "*" the service will reject the request if the entity already exists.- Returns:
- the ifNoneMatch value.
-
setIfNoneMatch
Set the ifNoneMatch property. If-Non-Match header makes the request method conditional on a recipient cache or origin server either not having any current representation of the target resource. Acceptable values are null or "*". If IfNonMatch option is null the service will replace the existing entity with the new entity. If IfNonMatch option is "*" the service will reject the request if the entity already exists.- Parameters:
ifNoneMatch
- the ifNoneMatch value to set.- Returns:
- the CreateOrReplaceRelationshipOptions object itself.
-