DigitalTwinUpdateHeaders Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.digitaltwin.customized.DigitalTwinUpdateHeaders

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.

DigitalTwinUpdateHeaders withETag(String eTag)

Set weak Etag of the modified resource.

DigitalTwinUpdateHeaders 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