DigitalTwinUpdateHeaders Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. digitaltwin. customized. DigitalTwinUpdateHeaders
- com.
public class DigitalTwinUpdateHeaders
Defines headers for UpdateDigitalTwin operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
eTag()
Get weak Etag of the modified resource. |
String |
location()
Get uRI of the digital twin. |
Digital |
withETag(String eTag)
Set weak Etag of the modified resource. |
Digital |
withLocation(String location)
Set uRI of the digital twin. |
Method Details
eTag
public String eTag()
Get weak Etag of the modified resource.
Returns:
the eTag value
location
public String location()
Get uRI of the digital twin.
Returns:
the location value
withETag
public DigitalTwinUpdateHeaders withETag(String eTag)
Set weak Etag of the modified resource.
Parameters:
eTag
- the eTag value to set
Returns:
the DigitalTwinUpdateHeaders object itself.
withLocation
public DigitalTwinUpdateHeaders withLocation(String location)
Set uRI of the digital twin.
Parameters:
location
- the location value to set
Returns:
the DigitalTwinUpdateHeaders object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java