Class CreateOrReplaceDigitalTwinOptions

java.lang.Object
com.azure.digitaltwins.core.models.CreateOrReplaceDigitalTwinOptions

public final class CreateOrReplaceDigitalTwinOptions extends Object
  • Constructor Details

    • CreateOrReplaceDigitalTwinOptions

      public CreateOrReplaceDigitalTwinOptions()
  • Method Details

    • getIfNoneMatch

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

      public CreateOrReplaceDigitalTwinOptions setIfNoneMatch(String ifNoneMatch)
      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.