@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociateClientDeviceFromCoreDeviceErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains an error that occurs from a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice operation returns a list of these errors.
Constructor and Description |
---|
DisassociateClientDeviceFromCoreDeviceErrorEntry() |
Modifier and Type | Method and Description |
---|---|
DisassociateClientDeviceFromCoreDeviceErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code for the request.
|
String |
getMessage()
A message that provides additional information about the error.
|
String |
getThingName()
The name of the IoT thing whose disassociate request failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code for the request.
|
void |
setMessage(String message)
A message that provides additional information about the error.
|
void |
setThingName(String thingName)
The name of the IoT thing whose disassociate request failed.
|
String |
toString()
Returns a string representation of this object.
|
DisassociateClientDeviceFromCoreDeviceErrorEntry |
withCode(String code)
The error code for the request.
|
DisassociateClientDeviceFromCoreDeviceErrorEntry |
withMessage(String message)
A message that provides additional information about the error.
|
DisassociateClientDeviceFromCoreDeviceErrorEntry |
withThingName(String thingName)
The name of the IoT thing whose disassociate request failed.
|
public DisassociateClientDeviceFromCoreDeviceErrorEntry()
public void setThingName(String thingName)
The name of the IoT thing whose disassociate request failed.
thingName
- The name of the IoT thing whose disassociate request failed.public String getThingName()
The name of the IoT thing whose disassociate request failed.
public DisassociateClientDeviceFromCoreDeviceErrorEntry withThingName(String thingName)
The name of the IoT thing whose disassociate request failed.
thingName
- The name of the IoT thing whose disassociate request failed.public void setCode(String code)
The error code for the request.
code
- The error code for the request.public String getCode()
The error code for the request.
public DisassociateClientDeviceFromCoreDeviceErrorEntry withCode(String code)
The error code for the request.
code
- The error code for the request.public void setMessage(String message)
A message that provides additional information about the error.
message
- A message that provides additional information about the error.public String getMessage()
A message that provides additional information about the error.
public DisassociateClientDeviceFromCoreDeviceErrorEntry withMessage(String message)
A message that provides additional information about the error.
message
- A message that provides additional information about the error.public String toString()
toString
in class Object
Object.toString()
public DisassociateClientDeviceFromCoreDeviceErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.