com.microsoft.azure.sdk.iot.service.digitaltwin.customized.DigitalTwinGetHeaders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-service-client Show documentation
Show all versions of iot-service-client Show documentation
The Microsoft Azure IoT Service SDK for Java
The newest version!
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package com.microsoft.azure.sdk.iot.service.digitaltwin.customized;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Defines headers for GetDigitalTwin operation.
*/
@SuppressWarnings("UnusedReturnValue") // Public class
public class DigitalTwinGetHeaders {
/**
* Weak Etag.
*/
@JsonProperty(value = "ETag")
private String eTag;
/**
* Get weak Etag.
*
* @return the eTag value
*/
public String eTag() {
return this.eTag;
}
/**
* Set weak Etag.
*
* @param eTag the eTag value to set
* @return the DigitalTwinGetHeaders object itself.
*/
public DigitalTwinGetHeaders withETag(String eTag) {
this.eTag = eTag;
return this;
}
}