@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateClientDeviceWithCoreDeviceErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains an error that occurs from a request to associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice operation returns a list of these errors.
Constructor and Description |
---|
AssociateClientDeviceWithCoreDeviceErrorEntry() |
Modifier and Type | Method and Description |
---|---|
AssociateClientDeviceWithCoreDeviceErrorEntry |
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 associate 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 associate request failed.
|
String |
toString()
Returns a string representation of this object.
|
AssociateClientDeviceWithCoreDeviceErrorEntry |
withCode(String code)
The error code for the request.
|
AssociateClientDeviceWithCoreDeviceErrorEntry |
withMessage(String message)
A message that provides additional information about the error.
|
AssociateClientDeviceWithCoreDeviceErrorEntry |
withThingName(String thingName)
The name of the IoT thing whose associate request failed.
|
public AssociateClientDeviceWithCoreDeviceErrorEntry()
public void setThingName(String thingName)
The name of the IoT thing whose associate request failed.
thingName
- The name of the IoT thing whose associate request failed.public String getThingName()
The name of the IoT thing whose associate request failed.
public AssociateClientDeviceWithCoreDeviceErrorEntry withThingName(String thingName)
The name of the IoT thing whose associate request failed.
thingName
- The name of the IoT thing whose associate 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 AssociateClientDeviceWithCoreDeviceErrorEntry 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 AssociateClientDeviceWithCoreDeviceErrorEntry 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 AssociateClientDeviceWithCoreDeviceErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.