DigitalTwinInvokeRootLevelCommandHeaders Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. digitaltwin. generated. models. DigitalTwinInvokeRootLevelCommandHeaders
- com.
public class DigitalTwinInvokeRootLevelCommandHeaders
Defines headers for InvokeRootLevelCommand 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 DigitalTwinInvokeRootLevelCommandHeaders withXMsCommandStatuscode(Integer xMsCommandStatuscode)
Set device Generated Status Code for this Operation.
Parameters:
Returns:
withXMsRequestId
public DigitalTwinInvokeRootLevelCommandHeaders 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