DigitalTwinUpdateDigitalTwinHeaders Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.digitaltwin.generated.models.DigitalTwinUpdateDigitalTwinHeaders

public class DigitalTwinUpdateDigitalTwinHeaders

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.

DigitalTwinUpdateDigitalTwinHeaders withETag(String eTag)

Set weak Etag of the modified resource.

DigitalTwinUpdateDigitalTwinHeaders 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 DigitalTwinUpdateDigitalTwinHeaders withETag(String eTag)

Set weak Etag of the modified resource.

Parameters:

eTag - the eTag value to set

Returns:

the DigitalTwinUpdateDigitalTwinHeaders object itself.

withLocation

public DigitalTwinUpdateDigitalTwinHeaders withLocation(String location)

Set uRI of the digital twin.

Parameters:

location - the location value to set

Returns:

the DigitalTwinUpdateDigitalTwinHeaders object itself.

Applies to