DigitalTwinInvokeComponentCommandHeaders Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. digitaltwin. generated. models. DigitalTwinInvokeComponentCommandHeaders
- com.
public class DigitalTwinInvokeComponentCommandHeaders
Defines headers for InvokeComponentCommand operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
Digital |
withXMsCommandStatuscode(Integer xMsCommandStatuscode)
Set device Generated Status Code for this Operation. |
Digital |
withXMsRequestId(String xMsRequestId)
Set server Generated Request Id (GUID), to uniquely identify this request in the service. |
Integer |
xMsCommandStatuscode()
Get device Generated Status Code for this Operation. |
String |
xMsRequestId()
Get server Generated Request Id (GUID), to uniquely identify this request in the service. |
Method Details
withXMsCommandStatuscode
public DigitalTwinInvokeComponentCommandHeaders withXMsCommandStatuscode(Integer xMsCommandStatuscode)
Set device Generated Status Code for this Operation.
Parameters:
Returns:
withXMsRequestId
public DigitalTwinInvokeComponentCommandHeaders withXMsRequestId(String xMsRequestId)
Set server Generated Request Id (GUID), to uniquely identify this request in the service.
Parameters:
Returns:
xMsCommandStatuscode
public Integer xMsCommandStatuscode()
Get device Generated Status Code for this Operation.
Returns:
xMsRequestId
public String xMsRequestId()
Get server Generated Request Id (GUID), to uniquely identify this request in the service.
Returns:
Applies to
Azure SDK for Java